* installing *source* package 'rmdcev' ...
** this is package 'rmdcev' version '1.3.3'
** package 'rmdcev' successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C++ compiler: 'g++.exe (GCC) 14.3.0'
using C++17
make[1]: Entering directory '/d/temp/2026_09_09_01_50_00_18435/RtmpYnT8pe/R.INSTALL3541c2e99253/rmdcev/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"../inst/include" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include' -I'D:/RCompile/CRANpkg/lib/4.6/rstan/include' -I'D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.6/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include" -D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:205,
from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Dense:1,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:32,
from rmdcev_types.h:2,
from RcppExports.cpp:4:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:46:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
46 | typedef eigen_packet_wrapper<__m128i, 0> Packet4i;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:47:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
47 | typedef eigen_packet_wrapper<__m128i, 1> Packet16b;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:49:39: warning: ignoring attributes on template argument '__m128' [-Wignored-attributes]
49 | template<> struct is_arithmetic<__m128> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:50:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
50 | template<> struct is_arithmetic<__m128i> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:51:40: warning: ignoring attributes on template argument '__m128d' [-Wignored-attributes]
51 | template<> struct is_arithmetic<__m128d> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:222:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
222 | template<> struct unpacket_traits<Packet4f> {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:228:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
228 | template<> struct unpacket_traits<Packet2d> {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1124:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
1124 | ptranspose(PacketBlock<Packet4f,4>& kernel) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1129:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
1129 | ptranspose(PacketBlock<Packet2d,2>& kernel) {
| ^
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:174:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:165:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<float, 4>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<float> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here
24 | ResAlignment = traits<Quaternion<float> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(4) float>::half' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:271:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<float, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<float> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<float>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here
27 | {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 4>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<double> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here
98 | ResAlignment = traits<Quaternion<double> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<double> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<double>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here
102 | {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/SparseCore:37,
from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Sparse:26,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:33:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 0, int> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 0, int> >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from 'class Eigen::SparseMatrix<double, 0, int>'
96 | class SparseMatrix
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here
61 | typedef Triplet<double> T;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, -1>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, -1, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/InputParameter.h:77:11: required from 'class Rcpp::ConstReferenceInputParameter<Eigen::Matrix<double, -1, 1> >'
77 | T obj ;
| ^~~
RcppExports.cpp:21:99: required from here
21 | Rcpp::traits::input_parameter< const Eigen::Matrix<double,-1,1>& >::type inv_temp(inv_tempSEXP);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/InputParameter.h:77:11: required from 'class Rcpp::ConstReferenceInputParameter<Eigen::Matrix<double, -1, 1> >'
77 | T obj ;
| ^~~
RcppExports.cpp:21:99: required from here
21 | Rcpp::traits::input_parameter< const Eigen::Matrix<double,-1,1>& >::type inv_temp(inv_tempSEXP);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, -1>'
178 | class Matrix
| ^~~~~~
RcppExports.cpp:93:48: required from here
93 | rcpp_result_gen = Rcpp::wrap(SortParmMatrix(MUzero, price, gamma, alpha_phi, nalts, pstream__));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"../inst/include" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include' -I'D:/RCompile/CRANpkg/lib/4.6/rstan/include' -I'D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.6/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include" -D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c SimulationFunctions.cpp -o SimulationFunctions.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:205,
from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Dense:1,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:32,
from SimulationFunctions.cpp:8:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:46:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
46 | typedef eigen_packet_wrapper<__m128i, 0> Packet4i;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:47:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
47 | typedef eigen_packet_wrapper<__m128i, 1> Packet16b;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:49:39: warning: ignoring attributes on template argument '__m128' [-Wignored-attributes]
49 | template<> struct is_arithmetic<__m128> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:50:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
50 | template<> struct is_arithmetic<__m128i> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:51:40: warning: ignoring attributes on template argument '__m128d' [-Wignored-attributes]
51 | template<> struct is_arithmetic<__m128d> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:222:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
222 | template<> struct unpacket_traits<Packet4f> {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:228:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
228 | template<> struct unpacket_traits<Packet2d> {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1124:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
1124 | ptranspose(PacketBlock<Packet4f,4>& kernel) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1129:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
1129 | ptranspose(PacketBlock<Packet2d,2>& kernel) {
| ^
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:174:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:165:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<float, 4>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<float> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here
24 | ResAlignment = traits<Quaternion<float> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(4) float>::half' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:271:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<float, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<float> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<float>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here
27 | {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 4>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<double> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here
98 | ResAlignment = traits<Quaternion<double> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<double> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<double>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here
102 | {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/SparseCore:37,
from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Sparse:26,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:33:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 0, int> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 0, int> >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from 'class Eigen::SparseMatrix<double, 0, int>'
96 | class SparseMatrix
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here
61 | typedef Triplet<double> T;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, -1>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, -1, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: recursively required by substitution of 'template<class OtherDerived> static std::true_type stan::is_base_pointer_convertible<Eigen::SparseMatrixBase, Eigen::Matrix<double, -1, 1> >::f(const Eigen::SparseMatrixBase<OtherDerived>*) [with OtherDerived = <missing>]'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::SparseMatrixBase, Eigen::Matrix<double, -1, 1> >'
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:869:60: recursively required by substitution of 'template<class MatrixType> class stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_sparse_base<typename std::decay<_Tp>::type>::value, void>::type> [with MatrixType = Eigen::Matrix<double, -1, 1>]'
869 | arena_matrix<Eigen::VectorXd>(val_.nonZeros()).setZero().data(),
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:869:60: required from here
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: recursively required by substitution of 'template<class OtherDerived> static std::true_type stan::is_base_pointer_convertible<Eigen::SparseMatrixBase, Eigen::Matrix<double, -1, 1> >::f(const Eigen::SparseMatrixBase<OtherDerived>*) [with OtherDerived = <missing>]'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::SparseMatrixBase, Eigen::Matrix<double, -1, 1> >'
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:869:60: recursively required by substitution of 'template<class MatrixType> class stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_sparse_base<typename std::decay<_Tp>::type>::value, void>::type> [with MatrixType = Eigen::Matrix<double, -1, 1>]'
869 | arena_matrix<Eigen::VectorXd>(val_.nonZeros()).setZero().data(),
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:869:60: required from here
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:14:7: required from 'class stan::math::arena_matrix<Eigen::Matrix<double, -1, 1> >'
14 | class arena_matrix<MatrixType, require_eigen_dense_base_t<MatrixType>>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:869:60: required from here
869 | arena_matrix<Eigen::VectorXd>(val_.nonZeros()).setZero().data(),
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:35:48: required from here
35 | output_map.array() += input_map.adj().array();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:35:55: required from here
35 | output_map.array() += input_map.adj().array();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:35:55: required from here
35 | output_map.array() += input_map.adj().array();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:124:56: required from here
124 | output_map.array().adj() += ret->adj_ * input_map.array();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:124:63: required from here
124 | output_map.array().adj() += ret->adj_ * input_map.array();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:124:63: required from here
124 | output_map.array().adj() += ret->adj_ * input_map.array();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:124:63: required from here
124 | output_map.array().adj() += ret->adj_ * input_map.array();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:124:63: required from here
124 | output_map.array().adj() += ret->adj_ * input_map.array();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Array<double, -1, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, -1, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, -1, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Array<double, -1, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Array<double, -1, 1> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Array<double, -1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from 'class Eigen::Array<double, -1, 1>'
45 | class Array
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:124:63: required from here
124 | output_map.array().adj() += ret->adj_ * input_map.array();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, -1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/typedefs.hpp:12:72: required from here
12 | using size_type = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic>::Index;
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:29: required from here
47 | || (cholesky.vectorD().array() <= 0.0).any()) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:41: required from here
47 | || (cholesky.vectorD().array() <= 0.0).any()) {
| ^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:45: required from here
47 | || (cholesky.vectorD().array() <= 0.0).any()) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 5>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 5, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 5, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 5, 1>'
178 | class Matrix
| ^~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:79:23: required from 'struct std::_Tuple_impl<1, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
79 | = __conditional_t<__is_final(_Tp), false_type,
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:284:12: required from 'struct std::_Tuple_impl<0, std::array<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 4>, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
284 | struct _Tuple_impl<_Idx, _Head, _Tail...>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:836:11: required from 'class std::tuple<std::array<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 4>, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
836 | class tuple : public _Tuple_impl<0, _Elements...>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:179:29: required from here
179 | make_GenzMalik(const int dim) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 5, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 5, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 5, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 5, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 5, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 5, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 5, 1>'
178 | class Matrix
| ^~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:79:23: required from 'struct std::_Tuple_impl<1, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
79 | = __conditional_t<__is_final(_Tp), false_type,
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:284:12: required from 'struct std::_Tuple_impl<0, std::array<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 4>, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
284 | struct _Tuple_impl<_Idx, _Head, _Tail...>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:836:11: required from 'class std::tuple<std::array<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 4>, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
836 | class tuple : public _Tuple_impl<0, _Elements...>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:179:29: required from here
179 | make_GenzMalik(const int dim) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/aux_/na_assert.hpp:23,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/arg.hpp:25,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/placeholders.hpp:24,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/apply.hpp:24,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/serialization/array_optimization.hpp:18,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/serialization/array_wrapper.hpp:21,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/serialization/array.hpp:26,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/ublas/storage.hpp:22,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/ublas/vector.hpp:21,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:23,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint.hpp:25,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor.hpp:17,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/to_arena.hpp:7,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_division.hpp:15,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_divide_equal.hpp:5,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core.hpp:32,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/model_base.hpp:8,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/model_header.hpp:4,
from SimulationFunctions.cpp:16:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
194 | failed ************ (Pred::************
| ^~~~~~~~~~~~~~~~~~~
195 | assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses
194 | failed ************ (Pred::************
| ^~~~~~~~~~~~~~~~~~~
| -
195 | assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 | );
| ~
| -
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
199 | failed ************ (boost::mpl::not_<Pred>::************
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses
199 | failed ************ (boost::mpl::not_<Pred>::************
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| -
200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | );
| ~
| -
In file included from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/functional/invocation/detail/that_ptr.hpp:13,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/functional/invocation/invoke.hpp:52,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/functional/adapter/fused.hpp:17,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/functional/generation/make_fused.hpp:13,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/include/make_fused.hpp:11,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint/util/resize.hpp:30,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint/util/state_wrapper.hpp:26,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:33:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/get_pointer.hpp:48:40: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
48 | template<class T> T * get_pointer(std::auto_ptr<T> const& p)
| ^~~~~~~~
In file included from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/memory:78,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:7,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta.hpp:79,
from SimulationFunctions.cpp:9:
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Matrix<double, -1, -1> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:14:7: required from 'class stan::math::arena_matrix<Eigen::Matrix<double, -1, -1>, void>'
14 | class arena_matrix<MatrixType, require_eigen_dense_base_t<MatrixType>>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cholesky_corr_constrain.hpp:41:8: required from here
41 | x_val.coeffRef(0, 0) = 1;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cholesky_factor_constrain.hpp:43:17: required from here
43 | y_val.row(m).head(m) = x.val().segment(pos, m);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Matrix<double, -1, -1>, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Matrix<double, -1, -1>, -1, 1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply_lower_tri_self_transpose.hpp:35:26: required from here
35 | LLt(m, m) = Lt.col(m).head(k).squaredNorm();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply_lower_tri_self_transpose.hpp:35:34: required from here
35 | LLt(m, m) = Lt.col(m).head(k).squaredNorm();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:50: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
28 | * arena_L_val.transpose();
| ~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:27: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | * arena_L_val.transpose();
| ^~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:46: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:32:23: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/generate_laplace_options.hpp:28:47: required from here
28 | return std::make_tuple(Eigen::VectorXd::Zero(theta_0_size).eval(),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, -1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, -1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 1, -1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 1, -1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_row_vector.hpp:35:32: required from here
35 | const std::vector<int>& vec) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/select.hpp:146:17: required from 'auto stan::math::select(T_bool, T_true, T_false) [with T_bool = Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >; T_true = int; T_false = int; stan::require_eigen_array_vt<std::is_integral, T_bool>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
145 | return c
| ~
146 | .unaryExpr([y_true, y_false](bool cond) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | return cond ? ret_t(y_true) : ret_t(y_false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | })
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_pFq.hpp:130:35: required from here
130 | Eigen::ArrayXi a_sign = select(a_pos_k == 0, 1, -1);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: required from 'struct Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >::CastXpr<double>'
48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/select.hpp:171:56: required from 'auto stan::math::select(T_bool, T_true, T_false) [with T_bool = Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; T_true = int; T_false = Eigen::Array<int, -1, 1>; stan::require_eigen_array_t<Mat>* <anonymous> = 0; stan::require_any_eigen_array_t<T_true, T_false>* <anonymous> = 0]'
171 | return c.select(y_true, y_false).template cast<ret_t>().eval();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_pFq.hpp:172:24: required from here
172 | a_sign = select(k == a_pos_k - 1, 1, a_sign);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/linspaced_array.hpp:37:49: required from here
37 | Eigen::VectorXd v = Eigen::VectorXd::LinSpaced(K, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, 1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, 1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, 1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, 1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/linspaced_row_vector.hpp:32:39: required from here
32 | return Eigen::RowVectorXd::LinSpaced(K, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:72: required from here
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:77: required from here
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:71:17: required from here
71 | A.diagonal().array() -= mu;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:71:29: required from here
71 | A.diagonal().array() -= mu;
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:86:43: required from here
86 | bi = (t / (s * (j + 1))) * (A * bi);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:86:43: required from here
86 | bi = (t / (s * (j + 1))) * (A * bi);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:86:43: required from here
86 | bi = (t / (s * (j + 1))) * (A * bi);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:22: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from 'class Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>'
56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:38: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:63:64: required from 'stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)> [with auto:478 = Eigen::Matrix<double, -1, -1>&]'
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>; T2 = Eigen::Matrix<double, -1, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>&]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:62:46: required from 'auto stan::math::ceil(Container&&) [with Container = Eigen::Matrix<double, -1, -1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0]'
62 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:197:41: required from here
197 | Eigen::MatrixXd c = stan::math::ceil(mt) * u.asDiagonal();
| ~~~~~~~~~~~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:63:71: required from 'stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)> [with auto:478 = Eigen::Matrix<double, -1, -1>&]'
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>; T2 = Eigen::Matrix<double, -1, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>&]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:62:46: required from 'auto stan::math::ceil(Container&&) [with Container = Eigen::Matrix<double, -1, -1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0]'
62 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:197:41: required from here
197 | Eigen::MatrixXd c = stan::math::ceil(mt) * u.asDiagonal();
| ~~~~~~~~~~~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:478&&)>; T2 = Eigen::Matrix<double, -1, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>&]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:62:46: required from 'auto stan::math::ceil(Container&&) [with Container = Eigen::Matrix<double, -1, -1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0]'
62 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:197:41: required from here
197 | Eigen::MatrixXd c = stan::math::ceil(mt) * u.asDiagonal();
| ~~~~~~~~~~~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::PartialReduxExpr<Eigen::Matrix<double, -1, -1>, Eigen::internal::member_minCoeff<double, double>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::PartialReduxExpr<Eigen::Matrix<double, -1, -1>, Eigen::internal::member_minCoeff<double, double>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::PartialReduxExpr<Eigen::Matrix<double, -1, -1>, Eigen::internal::member_minCoeff<double, double>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from 'class Eigen::PartialReduxExpr<Eigen::Matrix<double, -1, -1>, Eigen::internal::member_minCoeff<double, double>, 0>'
56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:38: required from here
203 | int cost = c.colwise().minCoeff().minCoeff(&m);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/one_hot_row_vector.hpp:25:52: required from here
25 | Eigen::RowVectorXd ret = Eigen::RowVectorXd::Zero(K);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:13:64: required from here
13 | : m_(Eigen::VectorXd::Zero(n)), m2_(Eigen::MatrixXd::Zero(n, n)) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:26:31: required from here
26 | Eigen::VectorXd delta(q - m_);
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:27:19: required from here
27 | m_ += delta / num_samples_;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:27:19: required from here
27 | m_ += delta / num_samples_;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<Eigen::Matrix<double, -1, 1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:38: required from here
28 | m2_ += (q - m_) * delta.transpose();
| ~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0, 5>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:39: required from here
28 | m2_ += (q - m_) * delta.transpose();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:37:40: required from here
37 | covar = m2_ / (num_samples_ - 1.0);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:28:30: required from here
28 | m2_ += delta.cwiseProduct(q - m_);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, -1, 1, -1, -1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:53:9: required from here
53 | adjL.template triangularView<Eigen::Lower>() = L.adj();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Matrix<double, -1, -1>, -1, -1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Matrix<double, -1, -1>, -1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:101:16: required from here
101 | if (C_adj.size() > 0) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:110:28: required from here
110 | = D_adj.adjoint().template triangularView<StrictlyUpper>();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:115:27: required from here
115 | D_adj.diagonal() *= 0.5;
| ^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Matrix<double, -1, -1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Matrix<double, -1, -1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Ref<Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Ref<Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Ref<Eigen::Matrix<double, -1, -1> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Ref<Eigen::Matrix<double, -1, -1> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Ref.h:59:34: required from 'class Eigen::RefBase<Eigen::Ref<Eigen::Matrix<double, -1, -1> > >'
59 | template<typename Derived> class RefBase
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Ref.h:281:76: required from 'class Eigen::Ref<Eigen::Matrix<double, -1, -1> >'
281 | template<typename PlainObjectType, int Options, typename StrideType> class Ref
| ^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LLT.h:76:42: required from 'class Eigen::LLT<Eigen::Ref<Eigen::Matrix<double, -1, -1> >, 1>'
76 | MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:141:57: required from here
141 | check_pos_definite("cholesky_decompose", "m", L_factor);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:41: required from here
79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val());
| ~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:57: required from here
79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:58: required from here
79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:80:15: required from here
80 | v1_map.adj() += di;
| ~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:111:72: required from here
111 | += 2 * adj_ * (v1_map.val() - Eigen::Map<vector_d>(v2_, length_));
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:111:73: required from here
111 | += 2 * adj_ * (v1_map.val() - Eigen::Map<vector_d>(v2_, length_));
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:38: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:63: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:70: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:70: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:72: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 1> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 1> >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: recursively required by substitution of 'template<class OtherDerived> static std::true_type stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::SparseMatrix<double, 1> >::f(const Eigen::EigenBase<Derived>*) [with OtherDerived = <missing>]'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::SparseMatrix<double, 1> >'
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: required from 'struct stan::is_eigen<Eigen::SparseMatrix<double, 1> >'
21 | : bool_constant<is_base_pointer_convertible<Eigen::EigenBase, T>::value> {};
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:301:19: required by substitution of 'template<class T> class stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type> [with T = Eigen::SparseMatrix<double, 1>]'
301 | (is_eigen<T>::value || is_kernel_expression_and_not_scalar<T>::value)
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/csr_matrix_times_vector.hpp:190:40: required from here
190 | arena_t<return_t> res = w_mat_arena.val() * value_of(b_arena);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> > >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> > >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:50:7: required from 'class Eigen::SparseMapBase<Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> >, 0>'
50 | class SparseMapBase<Derived,ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:148:7: required from 'class Eigen::SparseMapBase<Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> >, 1>'
148 | class SparseMapBase<Derived,WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:222:7: required from 'class Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> >'
222 | class Map<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:182:7: required from 'class stan::math::arena_matrix<Eigen::SparseMatrix<double, 1>, void>'
182 | class arena_matrix<MatrixType, require_eigen_sparse_base_t<MatrixType>>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:830:9: required from 'class stan::math::vari_value<Eigen::SparseMatrix<double, 1>, void>'
830 | using InnerIterator = typename arena_matrix<PlainObject>::InnerIterator;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:444:57: required from 'const auto& stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::val() const [with T = Eigen::SparseMatrix<double, 1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
444 | inline const auto& val() const noexcept { return vi_->val(); }
| ~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/csr_matrix_times_vector.hpp:190:44: required from here
190 | arena_t<return_t> res = w_mat_arena.val() * value_of(b_arena);
| ~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:97:21: required from 'class Eigen::Tridiagonalization<Eigen::Matrix<double, -1, -1> >'
97 | >::type SubDiagonalReturnType;
| ^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:111:62: required from 'class Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1> >'
111 | typedef typename TridiagonalizationType::SubDiagonalType SubDiagonalType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/eigendecompose_sym.hpp:39:46: required from here
39 | arena_t<eigval_return_t> eigenvals = solver.eigenvalues();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/grad.hpp:27:12: required from here
27 | g = x.adj();
| ~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<Eigen::Matrix<double, -1, -1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:42:56: required from here
42 | auto arena_M_inv_transpose = to_arena(M_d.transpose());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>; T2 = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:50:24: required from here
50 | var log_det = sum(log(M_ldlt.vectorD()));
| ~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, void>::apply<stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>, Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&, stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, void>::apply<stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>, Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&, stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0> > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, void>::apply<stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>, Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&, stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, void>::apply<stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>, Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&, stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:218&&)>; T2 = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:50:24: required from here
50 | var log_det = sum(log(M_ldlt.vectorD()));
| ~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:14:7: required from 'class stan::math::arena_matrix<Eigen::Matrix<double, -1, -1, 1, -1, -1>, void>'
14 | class arena_matrix<MatrixType, require_eigen_dense_base_t<MatrixType>>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:52:44: required from here
52 | reverse_pass_callback([arena_M, log_det, arena_M_inv_transpose]() mutable {
| ^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:7,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:6,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun.hpp:114,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev.hpp:14,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math.hpp:19,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/model_header.hpp:6:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp: In constructor 'stan::math::internal::ops_partials_edge<double, std::vector<std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > > > >::ops_partials_edge(const std::vector<std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > > >&)':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:223:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
223 | for (size_t i = 0; i < stan::math::size(ops); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_softmax.hpp:73:47: required from here
73 | vector_d diff = (x_d.array() - x_d.maxCoeff());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_softmax.hpp:81:75: required from here
81 | Eigen::Map<vector_d>(softmax_x_d_array, a_size) = softmax_x_d.array() / sum;
| ^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:51:51: required from here
51 | arena_powers[0] = Eigen::MatrixXd::Identity(N, N);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:54:59: required from here
54 | arena_powers[i] = arena_powers[1] * arena_powers[i - 1];
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:64:54: required from here
64 | adj_M += adj_C * arena_powers[i - 1].transpose();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:65:35: required from here
65 | adj_C = M_val.transpose() * adj_C;
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1>, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:65:35: required from here
65 | adj_C = M_val.transpose() * adj_C;
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/mdivide_left_spd.hpp:68:55: required from here
68 | Eigen::Map<matrix_vi>(variRefB_, M_, N_).adj() += adjB;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/mdivide_left_tri.hpp:86:56: required from here
86 | adjA = -adjB * Map<matrix_d>(C_, M_, N_).transpose();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/mdivide_left_tri.hpp:86:56: required from here
86 | adjA = -adjB * Map<matrix_d>(C_, M_, N_).transpose();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/quad_form.hpp:25:46: required from here
25 | matrix_d M = 0.5 * (Cd + Cd.transpose());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, 1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:55:11: required from here
55 | L.col(0).tail(pull) = CPCs.val().head(pull);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:14:7: required from 'class stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>'
14 | class arena_matrix<MatrixType, require_eigen_dense_base_t<MatrixType>>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:56:12: required from here
56 | arena_acc.tail(pull) = 1.0 - CPCs.val().head(pull).array().square();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:63:57: required from here
63 | L.col(i).tail(pull) = cpc_seg * arena_acc.tail(pull).sqrt();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Array<double, -1, 1>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Array<double, -1, 1>, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Array<double, -1, 1>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:86:37: required from here
86 | -= 2.0 * acc_adj.tail(pull) * acc_val.tail(pull) * cpc_seg_val;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:86:58: required from here
86 | -= 2.0 * acc_adj.tail(pull) * acc_val.tail(pull) * cpc_seg_val;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:33: required from here
90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:40: required from here
90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, 1, true>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:78: required from here
90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:78: required from here
90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_cov_matrix.hpp:57:57: required from here
57 | sds.adj() += (prod.adj().cwiseProduct(corr_L.val())).rowwise().sum();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/rows_dot_self.hpp:42:33: required from here
42 | x.adj() += (2 * res.adj()).asDiagonal() * x.val();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd.hpp:57:22: required from here
57 | arena_Fp.diagonal().setZero();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd.hpp:70:66: required from here
70 | * (arena_Fp.array() * (UUadjT - UUadjT.transpose()).array())
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd.hpp:70:73: required from here
70 | * (arena_Fp.array() * (UUadjT - UUadjT.transpose()).array())
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd.hpp:71:21: required from here
71 | .matrix()
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd_V.hpp:62:30: required from here
62 | .matrix()
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd_V.hpp:62:30: required from here
62 | .matrix()
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:278:47: required from 'struct Eigen::internal::traits<Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
278 | typedef typename DiagonalVectorType::Scalar Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:42:59: required from 'struct Eigen::EigenBase<Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
42 | typedef typename internal::traits<Derived>::StorageKind StorageKind;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:18:7: required from 'class Eigen::DiagonalBase<Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
18 | class DiagonalBase : public EigenBase<Derived>
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:293:7: required from 'class Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
293 | class DiagonalWrapper
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd_V.hpp:64:53: required from here
64 | + arena_U * arena_D.asDiagonal().inverse()
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:24:36: required from here
24 | vector_d dtrs_vals = dtrs_map.val();
| ~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:26:54: required from here
26 | vector_d diff = dtrs_vals.array() - dtrs_vals.mean();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:28:57: required from here
28 | Eigen::Map<vector_d>(partials, size) = 2 * diff.array() / size_m1;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:28:61: required from here
28 | Eigen::Map<vector_d>(partials, size) = 2 * diff.array() / size_m1;
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/jacobian.hpp:27:19: required from here
27 | fx = fx_var.val();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:39&&)>::<lambda(auto:40&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:39&&)>::<lambda(auto:40&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:39&&)>::<lambda(auto:40&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:39&&)>::<lambda(auto:40&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:39&&)>::<lambda(auto:40&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: required from 'struct std::__result_of_impl<false, false, stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:39&&)>, const Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>&>'
2666 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:39&&)>, const Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:39&&)>, const Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:39&&)>; Args = {const Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:83:21: required from 'auto stan::math::value_of(EigMat&&) [with EigMat = const Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_eigen_dense_base_t<MatrixType>* <anonymous> = 0; stan::require_not_st_arithmetic<T>* <anonymous> = 0]'
83 | return make_holder(
| ~~~~~~~~~~~^
84 | [](auto&& a) {
| ~~~~~~~~~~~~~~
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86 | },
| ~~
87 | std::forward<EigMat>(M));
| ~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/algebra_solver_fp.hpp:101:37: required from here
101 | y_dummy(stan::math::value_of(y)),
| ~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/solve_powell.hpp:371:58: required from here
371 | Eigen::VectorXd eta = -Jf_x_T_lu_ptr->solve(ret.adj().eval());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/solve_powell.hpp:371:65: required from here
371 | Eigen::VectorXd eta = -Jf_x_T_lu_ptr->solve(ret.adj().eval());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/cvodes_integrator_adjoint.hpp:603:70: required from here
603 | f_y_t_vars.adj() = -Eigen::Map<Eigen::VectorXd>(NV_DATA_S(yB), N_);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:64:54: required from here
64 | hvp = (grad_forward - grad_backward) / (2 * epsilon);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:117:46: required from here
117 | = Eigen::ArrayXd::LinSpaced(8, 0, 7) * log_inner_r - LOG_TEN;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:117:60: required from here
117 | = Eigen::ArrayXd::LinSpaced(8, 0, 7) * log_inner_r - LOG_TEN;
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:121:33: required from here
121 | = log_sum_exp(log_r_pow + num_map) - log_sum_exp(log_r_pow + den_map);
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:39: required from 'stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)> [with auto:532 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:104:23: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::reduce(T2&&, F&&) [with T2 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; F = stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >]'
104 | return make_holder(std::forward<F>(f), std::forward<T2>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:121:20: required from here
121 | = log_sum_exp(log_r_pow + num_map) - log_sum_exp(log_r_pow + den_map);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:42: required from 'stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)> [with auto:532 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~^~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:104:23: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::reduce(T2&&, F&&) [with T2 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; F = stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >]'
104 | return make_holder(std::forward<F>(f), std::forward<T2>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:121:20: required from here
121 | = log_sum_exp(log_r_pow + num_map) - log_sum_exp(log_r_pow + den_map);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:52: required from 'stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)> [with auto:532 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:104:23: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::reduce(T2&&, F&&) [with T2 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; F = stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >]'
104 | return make_holder(std::forward<F>(f), std::forward<T2>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:121:20: required from here
121 | = log_sum_exp(log_r_pow + num_map) - log_sum_exp(log_r_pow + den_map);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: required from 'struct Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >::CastXpr<double>'
48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_multinomial_lpmf.hpp:80:63: required from here
80 | auto ns_array = as_array_or_scalar(ns).template cast<double>().eval();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:218&&)> [with auto:218 = Eigen::Array<double, -1, 1>&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:58:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:218&&)>; T2 = Eigen::Array<double, -1, 1>&; stan::require_t<stan::is_eigen_array<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Array<double, -1, 1>&]'
58 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Array<double, -1, 1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_multinomial_lpmf.hpp:84:49: required from here
84 | lp += log(n_sum) - (ns_array > 0).select(log(ns_array), 0.0).sum();
| ~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Select.h:52:7: required from 'class Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >'
52 | class Select : public internal::dense_xpr_base< Select<ConditionMatrixType, ThenMatrixType, ElseMatrixType> >::type,
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_multinomial_lpmf.hpp:84:65: required from here
84 | lp += log(n_sum) - (ns_array > 0).select(log(ns_array), 0.0).sum();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_rng.hpp:8,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/exp_mod_normal_rng.hpp:9,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob.hpp:92,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim.hpp:18,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev.hpp:18:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/random/normal_distribution.hpp: In member function 'RealType boost::random::detail::unit_normal_distribution<RealType>::operator()(Engine&)':
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/random/normal_distribution.hpp:132: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
132 | if(x < table_x[i + 1]) return x * sign;
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/random/normal_distribution.hpp:132: note: adding '-flarge-source-files' will allow for more column-tracking support, at the expense of compilation time and memory
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:38:0: required from here
38 | Eigen::VectorXd stddev = S_ldlt.vectorD().array().sqrt().matrix();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:46:0: required from here
46 | = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z));
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:46:0: required from here
46 | = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z));
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:135:0: required from here
135 | Eigen::VectorXd(F.transpose() * theta_t), V_ldlt, rng);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/hmm_hidden_state_prob.hpp:77:0: required from here
77 | alphas.col(n) = alphas.col(n).cwiseProduct(beta);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/hmm_latent_rng.hpp:71:0: required from here
71 | probs_vec = alphas.col(n_transitions) / alphas.col(n_transitions).sum();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:32: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:25:0: required from here
25 | S_inv = ldlt_of_S.solve(S_inv);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:0: required from here
27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:0: required from here
27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:0: required from here
27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:89:0: required from here
89 | = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:89:0: required from here
89 | = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:109:0: required from here
109 | (Sigma_ldlt.matrixU().solve(X)).transpose()))
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:108:0: recursively required by substitution of 'template<int Side, class Other> const Eigen::internal::triangular_solve_retval<Side, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Other> Eigen::TriangularViewImpl<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6, Eigen::Dense>::solve(const Eigen::MatrixBase<U>&) const [with int Side = <missing>; Other = <missing>]'
108 | * (D_ldlt.matrixU().solve(
109 | (Sigma_ldlt.matrixU().solve(X)).transpose()))
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:108:0: required from here
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > >, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:110:0: required from here
110 | .transpose()
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:110:0: required from here
110 | .transpose()
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:111:0: required from here
111 | * D_ldlt.transpositionsP());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:111:0: required from here
111 | * D_ldlt.transpositionsP());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)> [with auto:31 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:64:23: required from 'static auto stan::math::apply_scalar_unary<F, T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp2>::type>::value, void>::type>::apply(TT&&) [with TT = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; F = stan::math::lgamma_fun; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >]'
64 | return make_holder(
| ~~~~~~~~~~~^
65 | [](auto&& xx) {
| ~~~~~~~~~~~~~~~
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~~
70 | },
| ~~
71 | std::forward<TT>(x));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:79:38: required from 'struct stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>'
79 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:121:50: required from 'auto stan::math::lgamma(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
121 | return apply_scalar_unary<lgamma_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/multinomial_logit_lpmf.hpp:39:0: required from here
39 | lp += lgamma(1 + ns_map.sum()) - lgamma(1 + ns_map).sum();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)> [with auto:31 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>; long long unsigned int ...Is = {0}; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_unary<lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:31&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:64:23: required from 'static auto stan::math::apply_scalar_unary<F, T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp2>::type>::value, void>::type>::apply(TT&&) [with TT = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; F = stan::math::lgamma_fun; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >]'
64 | return make_holder(
| ~~~~~~~~~~~^
65 | [](auto&& xx) {
| ~~~~~~~~~~~~~~~
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~~
70 | },
| ~~
71 | std::forward<TT>(x));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:79:38: required from 'struct stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>'
79 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:121:50: required from 'auto stan::math::lgamma(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
121 | return apply_scalar_unary<lgamma_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/multinomial_logit_lpmf.hpp:39:0: required from here
39 | lp += lgamma(1 + ns_map.sum()) - lgamma(1 + ns_map).sum();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_cholesky_rng.hpp:48:0: required from here
48 | return L_S.template triangularView<Eigen::Lower>() * B.transpose();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:14:7: required from 'class stan::math::arena_matrix<Eigen::Matrix<double, 1, -1>, void>'
14 | class arena_matrix<MatrixType, require_eigen_dense_base_t<MatrixType>>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:145:0: required from here
145 | x_ret_vals.coeffRef(j) = x.val().coeff(row_idx_val, col_idx_vals[j]);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:21: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, 1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1219:0: required from here
1219 | stan::math::add(stan::math::to_vector(order_MU),
1220 | static_cast<double>(1)))), "assigning variable order_x");
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:32: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, 1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1219:0: required from here
1219 | stan::math::add(stan::math::to_vector(order_MU),
1220 | static_cast<double>(1)))), "assigning variable order_x");
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor.hpp:14:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp: In instantiation of 'Eigen::Matrix<Type, -1, -1> stan::math::internal::combos(int, Scalar, int) [with Scalar = double]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:194:21: required from here
194 | points[0] = combos(1, std::sqrt(9.0 * 1.0 / 70.0), dim);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:108:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
108 | for (size_t i = 0; i < choose_dimk; i++) {
| ~~^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:110:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
110 | for (size_t j = 0; j < k; j++) {
| ~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:141:17: required from 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]'
141 | p(c.array() - 1.0, current_col).setConstant(lambda);
| ~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:153:7: required from 'class Eigen::IndexedViewImpl<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange, Eigen::Dense>'
153 | class IndexedViewImpl
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:109:7: required from 'class Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange>'
109 | class IndexedView : public IndexedViewImpl<XprType, RowIndices, ColIndices, typename internal::traits<XprType>::StorageKind>
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:141:6: required from 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]'
141 | p(c.array() - 1.0, current_col).setConstant(lambda);
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp: In instantiation of 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:149:22: warning: comparison of integer expressions of different signedness: 'int' and 'const std::size_t' {aka 'const long long unsigned int'} [-Wsign-compare]
149 | if (first_zero == index_size) {
| ~~~~~~~~~~~^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:153:7: required from 'class Eigen::IndexedViewImpl<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange, Eigen::Dense>'
153 | class IndexedViewImpl
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:109:7: required from 'class Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>'
109 | class IndexedView : public IndexedViewImpl<XprType, RowIndices, ColIndices, typename internal::traits<XprType>::StorageKind>
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:151:10: required from 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]'
151 | p(c.segment(0, index.size()).array() - 1, current_col).array() *= -1;
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:151:69: required from 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]'
151 | p(c.segment(0, index.size()).array() - 1, current_col).array() *= -1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 3>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 3, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Array.h:17:8: required from 'struct Eigen::internal::traits<Eigen::Array<double, 3, 1> >'
17 | struct traits<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > : traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Array<double, 3, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from 'class Eigen::Array<double, 3, 1>'
45 | class Array
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:26:41: required from 'stan::return_type_t<T, L, U> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
26 | Eigen::Array<scalar_type_t<Ta>, 3, 1> a_array = as_array_or_scalar(a);
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Array<double, 3, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, 3, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, 3, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Array<double, 3, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Array<double, 3, 1> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Array<double, 3, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from 'class Eigen::Array<double, 3, 1>'
45 | class Array
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:26:41: required from 'stan::return_type_t<T, L, U> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
26 | Eigen::Array<scalar_type_t<Ta>, 3, 1> a_array = as_array_or_scalar(a);
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:45:47: required from 'stan::return_type_t<T, L, U> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
45 | const auto& abs_apk = math::fabs((a_array == 0).select(1.0, a_array));
| ~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Select.h:52:7: required from 'class Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >'
52 | class Select : public internal::dense_xpr_base< Select<ConditionMatrixType, ThenMatrixType, ElseMatrixType> >::type,
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:45:59: required from 'stan::return_type_t<T, L, U> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
45 | const auto& abs_apk = math::fabs((a_array == 0).select(1.0, a_array));
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/fabs.hpp:69:70: required from 'stan::math::fabs<const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >(const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >&&)::<lambda(auto:81&&)> [with auto:81 = const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >&]'
69 | std::forward<Container>(x), [](auto&& v) { return v.array().abs(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:58:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::fabs<const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >(const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >&&)::<lambda(auto:81&&)>; T2 = const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >; stan::require_t<stan::is_eigen_array<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >]'
58 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/fabs.hpp:68:46: required from 'auto stan::math::fabs(Container&&) [with Container = const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
68 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
69 | std::forward<Container>(x), [](auto&& v) { return v.array().abs(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:45:37: required from 'stan::return_type_t<T, L, U> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
45 | const auto& abs_apk = math::fabs((a_array == 0).select(1.0, a_array));
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&>(const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&)::<lambda(auto:218&&)> [with auto:218 = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:58:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&>(const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&)::<lambda(auto:218&&)>; T2 = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&; stan::require_t<stan::is_eigen_array<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&]'
58 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:47:21: required from 'stan::return_type_t<T, L, U> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
47 | auto p = sum(log(abs_apk)) - sum(log(abs_bpk));
| ~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:75: required from 'stan::return_type_t<T> stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t<T>* <anonymous> = 0; stan::return_type_t<T> = double]'
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:27: required from here
16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {}
| ~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:32: required from 'stan::return_type_t<T> stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t<T>* <anonymous> = 0; stan::return_type_t<T> = double]'
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:27: required from here
16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {}
| ~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)> [with auto:31 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1, 0, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:64:23: required from 'static auto stan::math::apply_scalar_unary<F, T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp2>::type>::value, void>::type>::apply(TT&&) [with TT = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; F = stan::math::lgamma_fun; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >]'
64 | return make_holder(
| ~~~~~~~~~~~^
65 | [](auto&& xx) {
| ~~~~~~~~~~~~~~~
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~~
70 | },
| ~~
71 | std::forward<TT>(x));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:79:38: required from 'struct stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>'
79 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:121:50: required from 'auto stan::math::lgamma(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
121 | return apply_scalar_unary<lgamma_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:29: required from 'stan::return_type_t<T> stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t<T>* <anonymous> = 0; stan::return_type_t<T> = double]'
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:27: required from here
16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {}
| ~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>::<lambda(auto:32&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_unary<lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:31&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1, 0, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> > > >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:64:23: required from 'static auto stan::math::apply_scalar_unary<F, T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp2>::type>::value, void>::type>::apply(TT&&) [with TT = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; F = stan::math::lgamma_fun; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >]'
64 | return make_holder(
| ~~~~~~~~~~~^
65 | [](auto&& xx) {
| ~~~~~~~~~~~~~~~
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~~
70 | },
| ~~
71 | std::forward<TT>(x));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:79:38: required from 'struct stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>'
79 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:121:50: required from 'auto stan::math::lgamma(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
121 | return apply_scalar_unary<lgamma_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:29: required from 'stan::return_type_t<T> stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t<T>* <anonymous> = 0; stan::return_type_t<T> = double]'
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:27: required from here
16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {}
| ~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:98:40: required from 'typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::MatrixBase<Derived>::squaredNorm() const [with Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
98 | return numext::real((*this).cwiseAbs2().sum());
| ~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:29:37: required from here
29 | double variance = diff.squaredNorm() / size_m1;
| ~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:35: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::IndexedView<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::IndexedView<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:153:7: required from 'class Eigen::IndexedViewImpl<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange, Eigen::Dense>'
153 | class IndexedViewImpl
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:109:7: required from 'class Eigen::IndexedView<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>'
109 | class IndexedView : public IndexedViewImpl<XprType, RowIndices, ColIndices, typename internal::traits<XprType>::StorageKind>
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:168:0: required from 'stan::model::rvalue<const Eigen::Matrix<double, -1, 1>&, index_multi>(const Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)> [with auto:924 = const Eigen::Matrix<double, -1, 1>&; auto:925 = stan::model::index_multi]'
168 | return std::forward<decltype(v_ref)>(v_ref)(idx2 - 1);
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::model::rvalue<const Eigen::Matrix<double, -1, 1>&, index_multi>(const Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::model::rvalue<const Eigen::Matrix<double, -1, 1>&, index_multi>(const Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::model::rvalue<const Eigen::Matrix<double, -1, 1>&, index_multi>(const Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>; Args = {const Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:164:0: required from 'auto stan::model::rvalue(EigVec&&, const char*, MultiIndex&&) [with EigVec = const Eigen::Matrix<double, -1, 1>&; MultiIndex = index_multi; stan::require_eigen_vector_t<C>* <anonymous> = 0; stan::require_same_t<MultiIndex, index_multi>* <anonymous> = 0]'
164 | return stan::math::make_holder(
165 | [](auto&& v_ref, auto&& idx_inner) {
166 | Eigen::Map<const Eigen::Array<int, -1, 1>> idx2(idx_inner.ns_.data(),
167 | idx_inner.ns_.size());
168 | return std::forward<decltype(v_ref)>(v_ref)(idx2 - 1);
169 | },
170 | std::forward<fwd_t>(stan::math::to_ref(std::forward<EigVec>(v))),
171 | std::forward<MultiIndex>(idx));
SimulationFunctions.cpp:920:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::Shuffle_rng(const T0__&, const T1__&, RNG&, std::ostream*) [with T0__ = Eigen::Matrix<double, -1, 1>; T1__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, std::is_integral<typename std::decay<_Tp2>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type>::type = double; typename stan::base_type<T>::type = double; std::ostream = std::basic_ostream<char>]'
920 | stan::model::rvalue(inv_temp, "inv_temp",
921 | stan::model::index_multi(stan::math::sort_indices_asc(temp1))),
SimulationFunctions.cpp:3399:0: required from here
3399 | return model131e81eff76c5_User_defined_functions_namespace::Shuffle_rng(
3400 | inv_temp, nerrs, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::IndexedView<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, stan::model::index_multi>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::IndexedView<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, stan::model::index_multi> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::IndexedView<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, stan::model::index_multi> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::IndexedView<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, stan::model::index_multi>'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::IndexedView<const Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>; long long unsigned int ...Is = {0}; Args = {stan::model::index_multi}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::model::rvalue<const Eigen::Matrix<double, -1, 1>&, index_multi>(const Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>; long long unsigned int ...Is = {0, 1}; Args = {const Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::model::rvalue<const Eigen::Matrix<double, -1, 1>&, index_multi>(const Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>; Args = {const Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:164:0: required from 'auto stan::model::rvalue(EigVec&&, const char*, MultiIndex&&) [with EigVec = const Eigen::Matrix<double, -1, 1>&; MultiIndex = index_multi; stan::require_eigen_vector_t<C>* <anonymous> = 0; stan::require_same_t<MultiIndex, index_multi>* <anonymous> = 0]'
164 | return stan::math::make_holder(
165 | [](auto&& v_ref, auto&& idx_inner) {
166 | Eigen::Map<const Eigen::Array<int, -1, 1>> idx2(idx_inner.ns_.data(),
167 | idx_inner.ns_.size());
168 | return std::forward<decltype(v_ref)>(v_ref)(idx2 - 1);
169 | },
170 | std::forward<fwd_t>(stan::math::to_ref(std::forward<EigVec>(v))),
171 | std::forward<MultiIndex>(idx));
SimulationFunctions.cpp:920:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::Shuffle_rng(const T0__&, const T1__&, RNG&, std::ostream*) [with T0__ = Eigen::Matrix<double, -1, 1>; T1__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, std::is_integral<typename std::decay<_Tp2>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type>::type = double; typename stan::base_type<T>::type = double; std::ostream = std::basic_ostream<char>]'
920 | stan::model::rvalue(inv_temp, "inv_temp",
921 | stan::model::index_multi(stan::math::sort_indices_asc(temp1))),
SimulationFunctions.cpp:3399:0: required from here
3399 | return model131e81eff76c5_User_defined_functions_namespace::Shuffle_rng(
3400 | inv_temp, nerrs, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&, double&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&, double&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>, double}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>; T2 = double; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:977:0: required from 'Eigen::Matrix<double, -1, 1> model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(const T0__&, const T1__&, RNG&, std::ostream*) [with T0__ = int; T1__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, std::is_integral<typename std::decay<_Tp2>::type> >* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
977 | stan::math::divide(
978 | stan::math::to_vector(
979 | stan::math::uniform_rng(temp0, 1, base_rng__)),
980 | static_cast<double>(nerrs))), nerrs, base_rng__, pstream__),
SimulationFunctions.cpp:3406:0: required from here
3406 | return model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(
3407 | nerrs, draw_mlhs, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:50:17: required from 'stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)> [with auto:485 = Eigen::Matrix<double, -1, 1>; auto:486 = double]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&, double&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&, double&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>, double}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>; T2 = double; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:977:0: required from 'Eigen::Matrix<double, -1, 1> model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(const T0__&, const T1__&, RNG&, std::ostream*) [with T0__ = int; T1__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, std::is_integral<typename std::decay<_Tp2>::type> >* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
977 | stan::math::divide(
978 | stan::math::to_vector(
979 | stan::math::uniform_rng(temp0, 1, base_rng__)),
980 | static_cast<double>(nerrs))), nerrs, base_rng__, pstream__),
SimulationFunctions.cpp:3406:0: required from here
3406 | return model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(
3407 | nerrs, draw_mlhs, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const stan::math::Holder<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:51:20: required from 'stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)> [with auto:485 = Eigen::Matrix<double, -1, 1>; auto:486 = double]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&, double&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&, double&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>, double}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>; T2 = double; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:977:0: required from 'Eigen::Matrix<double, -1, 1> model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(const T0__&, const T1__&, RNG&, std::ostream*) [with T0__ = int; T1__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, std::is_integral<typename std::decay<_Tp2>::type> >* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
977 | stan::math::divide(
978 | stan::math::to_vector(
979 | stan::math::uniform_rng(temp0, 1, base_rng__)),
980 | static_cast<double>(nerrs))), nerrs, base_rng__, pstream__),
SimulationFunctions.cpp:3406:0: required from here
3406 | return model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(
3407 | nerrs, draw_mlhs, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:51:20: required from 'stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)> [with auto:485 = Eigen::Matrix<double, -1, 1>&; auto:486 = double&]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>; long long unsigned int ...Is = {0, 1}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1>]'
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>, double}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>; T2 = double; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:977:0: required from 'Eigen::Matrix<double, -1, 1> model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(const T0__&, const T1__&, RNG&, std::ostream*) [with T0__ = int; T1__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, std::is_integral<typename std::decay<_Tp2>::type> >* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
977 | stan::math::divide(
978 | stan::math::to_vector(
979 | stan::math::uniform_rng(temp0, 1, base_rng__)),
980 | static_cast<double>(nerrs))), nerrs, base_rng__, pstream__),
SimulationFunctions.cpp:3406:0: required from here
3406 | return model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(
3407 | nerrs, draw_mlhs, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double>'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; long long unsigned int ...Is = {0, 1}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>; long long unsigned int ...Is = {0, 1}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = divide<Eigen::Matrix<double, -1, 1>, double>(Eigen::Matrix<double, -1, 1>&&, double&&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>, double}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>; T2 = double; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:977:0: required from 'Eigen::Matrix<double, -1, 1> model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(const T0__&, const T1__&, RNG&, std::ostream*) [with T0__ = int; T1__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, std::is_integral<typename std::decay<_Tp2>::type> >* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
977 | stan::math::divide(
978 | stan::math::to_vector(
979 | stan::math::uniform_rng(temp0, 1, base_rng__)),
980 | static_cast<double>(nerrs))), nerrs, base_rng__, pstream__),
SimulationFunctions.cpp:3406:0: required from here
3406 | return model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(
3407 | nerrs, draw_mlhs, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, double>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
SimulationFunctions.cpp:976:0: required from 'Eigen::Matrix<double, -1, 1> model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(const T0__&, const T1__&, RNG&, std::ostream*) [with T0__ = int; T1__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, std::is_integral<typename std::decay<_Tp2>::type> >* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
976 | stan::math::add(temp,
977 | stan::math::divide(
978 | stan::math::to_vector(
979 | stan::math::uniform_rng(temp0, 1, base_rng__)),
980 | static_cast<double>(nerrs))), nerrs, base_rng__, pstream__),
SimulationFunctions.cpp:3406:0: required from here
3406 | return model131e81eff76c5_User_defined_functions_namespace::DrawMlhs_rng(
3407 | nerrs, draw_mlhs, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::Matrix<double, -1, 1>&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>; T2 = Eigen::Matrix<double, -1, 1>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, 1>]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Matrix<double, -1, 1>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1078:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:49:22: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>; T2 = Eigen::Matrix<double, -1, 1>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, 1>]'
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Matrix<double, -1, 1>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1078:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>; T2 = Eigen::Matrix<double, -1, 1>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, 1>]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Matrix<double, -1, 1>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1078:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:218&&)>; T2 = Eigen::Matrix<double, -1, 1>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, 1>]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Matrix<double, -1, 1>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1078:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:198:46: required from 'stan::math::operator-<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&>(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&)::<lambda(auto:1&&)> [with auto:1 = Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&]'
198 | return make_holder([](auto&& arg) { return -arg; }, std::forward<T>(h).m_arg);
| ^~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&)::<lambda(auto:544&&)>, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&)::<lambda(auto:544&&)>, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&)::<lambda(auto:544&&)>; Args = {stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:21: required from 'auto stan::math::minus(T&&) [with T = Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1077:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&)::<lambda(auto:544&&)>; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&)::<lambda(auto:544&&)>; Args = {Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:21: required from 'auto stan::math::minus(T&&) [with T = Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1077:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1076:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1076 | stan::math::log(
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1076:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1076 | stan::math::log(
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>; Args = {Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:49:22: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >]'
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1076:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1076 | stan::math::log(
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, void>::apply<stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, void>::apply<stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, void>::apply<stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, void>::apply<stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1076:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1076 | stan::math::log(
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_vector_unary<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, void>::apply<stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_vector_unary<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, void>::apply<stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >(Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1076:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1076 | stan::math::log(
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:198:46: required from 'stan::math::operator-<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&>(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&)::<lambda(auto:1&&)> [with auto:1 = Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&]'
198 | return make_holder([](auto&& arg) { return -arg; }, std::forward<T>(h).m_arg);
| ^~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&&)::<lambda(auto:544&&)>, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&&)::<lambda(auto:544&&)>, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&&)::<lambda(auto:544&&)>; Args = {stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:21: required from 'auto stan::math::minus(T&&) [with T = Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1075:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1075 | stan::math::minus(
1076 | stan::math::log(
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&&)::<lambda(auto:544&&)>; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = minus<Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >(Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&&)::<lambda(auto:544&&)>; Args = {Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:21: required from 'auto stan::math::minus(T&&) [with T = Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1075:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1075 | stan::math::minus(
1076 | stan::math::log(
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:28:12: required from 'auto stan::math::multiply(const Mat&, Scal) [with Mat = Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Holder<Eigen::MatrixWrapper<Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >; Scal = double; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0; stan::require_all_not_complex_t<Scal, typename stan::value_type<T, void>::type>* <anonymous> = 0]'
28 | return c * m;
| ~~^~~
SimulationFunctions.cpp:1074:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1074 | stan::math::multiply(
1075 | stan::math::minus(
1076 | stan::math::log(
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
1080 | scale), "assigning variable error", stan::model::index_omni(),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, 1>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::Matrix<double, -1, 1>, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:193:0: required from 'auto stan::model::rvalue(Vec&&, const char*, index_min_max) [with Vec = const Eigen::Matrix<double, -1, 1>&; stan::require_vector_t<T_y>* <anonymous> = 0; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
193 | return v.segment(slice_start, slice_size);
SimulationFunctions.cpp:1115:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:18: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~^~
SimulationFunctions.cpp:1114:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1114 | stan::math::subtract(
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
1117 | static_cast<double>(1)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:21: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1114:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1114 | stan::math::subtract(
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
1117 | static_cast<double>(1)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:32: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1114:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1114 | stan::math::subtract(
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
1117 | static_cast<double>(1)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:18: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~^~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:21: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:32: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1118:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1118:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1118:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1113:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1113 | stan::math::elt_multiply(
1114 | stan::math::subtract(
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
1117 | static_cast<double>(1)),
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
SimulationFunctions.cpp:1112:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1112 | stan::math::add(psi_j,
1113 | stan::math::elt_multiply(
1114 | stan::math::subtract(
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
1117 | static_cast<double>(1)),
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)> [with auto:218 = const Eigen::Matrix<double, -1, 1>&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>; T2 = const Eigen::Matrix<double, -1, 1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = const Eigen::Matrix<double, -1, 1>&]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::Matrix<double, -1, 1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1120:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>, const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&, stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>, const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&, stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>, const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&, stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>, const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&, stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>; T2 = const Eigen::Matrix<double, -1, 1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = const Eigen::Matrix<double, -1, 1>&]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::Matrix<double, -1, 1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1120:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:1111:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1111 | stan::math::subtract(
1112 | stan::math::add(psi_j,
1113 | stan::math::elt_multiply(
1114 | stan::math::subtract(
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
1117 | static_cast<double>(1)),
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1129:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
SimulationFunctions.cpp:1129:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1128:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1128:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1128:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:1127:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1127 | stan::math::subtract(psi_j,
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
SimulationFunctions.cpp:1126:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1126 | stan::math::add(
1127 | stan::math::subtract(psi_j,
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:1125:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1125 | stan::math::subtract(
1126 | stan::math::add(
1127 | stan::math::subtract(psi_j,
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
1131 | stan::math::log(price_j)), "assigning variable vk");
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:62:13: required from 'auto stan::math::subtract(Scal, const Mat&) [with Scal = double; Mat = Eigen::Matrix<double, -1, 1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
62 | return (c - m.array()).matrix();
| ~~~^~~~~~~~~~~~
SimulationFunctions.cpp:1136:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1136 | stan::math::divide(stan::math::subtract(v1, vk), scale)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:62:32: required from 'auto stan::math::subtract(Scal, const Mat&) [with Scal = double; Mat = Eigen::Matrix<double, -1, 1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
62 | return (c - m.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1136:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1136 | stan::math::divide(stan::math::subtract(v1, vk), scale)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/as_array_or_scalar.hpp:57:51: required from 'stan::math::as_array_or_scalar<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:29&&)> [with auto:29 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >]'
57 | return make_holder([](auto&& x) { return x.array(); }, std::forward<T>(v));
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::as_array_or_scalar<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:29&&)>; _Args = {Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, const double&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, const double&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, const double&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; T2 = const double&; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1136:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1136 | stan::math::divide(stan::math::subtract(v1, vk), scale)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:50:17: required from 'stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)> [with auto:485 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; auto:486 = const double&]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, const double&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, const double&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, const double&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; T2 = const double&; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1136:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1136 | stan::math::divide(stan::math::subtract(v1, vk), scale)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:51:20: required from 'stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)> [with auto:485 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; auto:486 = const double&]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, const double&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, const double&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const double&>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, const double&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, const double&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; T2 = const double&; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1136:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1136 | stan::math::divide(stan::math::subtract(v1, vk), scale)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:28:12: required from 'auto stan::math::multiply(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, 1>; Scal = double; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0; stan::require_all_not_complex_t<Scal, typename stan::value_type<T, void>::type>* <anonymous> = 0]'
28 | return c * m;
| ~~^~~
SimulationFunctions.cpp:1156:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1155:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1155 | stan::math::log(
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1155:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1155 | stan::math::log(
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1155:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1155 | stan::math::log(
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:45: required from 'stan::math::minus<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >&&)::<lambda(auto:544&&)> [with auto:544 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::minus<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >&&)::<lambda(auto:544&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::minus<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >&&)::<lambda(auto:544&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::minus<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >&&)::<lambda(auto:544&&)>; Args = {Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:21: required from 'auto stan::math::minus(T&&) [with T = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > >; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1154:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1154 | stan::math::minus(
1155 | stan::math::log(
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1153:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::log(
1154 | stan::math::minus(
1155 | stan::math::log(
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1153:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::log(
1154 | stan::math::minus(
1155 | stan::math::log(
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, void>::apply<stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&, stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, void>::apply<stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&, stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, void>::apply<stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&, stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >, void>::apply<stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&, stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1153:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::log(
1154 | stan::math::minus(
1155 | stan::math::log(
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:45: required from 'stan::math::minus<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >&&)::<lambda(auto:544&&)> [with auto:544 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::minus<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >&&)::<lambda(auto:544&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::minus<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >&&)::<lambda(auto:544&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::minus<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >&&)::<lambda(auto:544&&)>; Args = {Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:21: required from 'auto stan::math::minus(T&&) [with T = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > >; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1152:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1152 | stan::math::minus(
1153 | stan::math::log(
1154 | stan::math::minus(
1155 | stan::math::log(
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:28:12: required from 'auto stan::math::multiply(const Mat&, Scal) [with Mat = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > > > > > > > >; Scal = double; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0; stan::require_all_not_complex_t<Scal, typename stan::value_type<T, void>::type>* <anonymous> = 0]'
28 | return c * m;
| ~~^~~
SimulationFunctions.cpp:1151:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1151 | stan::math::multiply(
1152 | stan::math::minus(
1153 | stan::math::log(
1154 | stan::math::minus(
1155 | stan::math::log(
1156 | stan::math::multiply(
1157 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__),
1158 | stan::math::exp(
1159 | -(stan::math::exp(
1160 | -(stan::model::rvalue(ek, "ek",
1161 | stan::model::index_uni(j))))))))))), scale))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Matrix<double, -1, -1>, 1, -1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Matrix<double, -1, -1>, 1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:257:0: required from 'auto stan::model::rvalue(Mat&&, const char*, index_uni) [with Mat = Eigen::Matrix<double, -1, -1>&; stan::require_dense_dynamic_t<T_y>* <anonymous> = 0]'
257 | return x.row(idx.n_ - 1);
SimulationFunctions.cpp:1171:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1171 | stan::model::rvalue(error, "error", stan::model::index_uni(err))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from 'auto stan::math::transpose(const T&) [with T = Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>; stan::require_matrix_t<T>* <anonymous> = 0]'
18 | return m.transpose();
| ~~~~~~~~~~~^~
SimulationFunctions.cpp:1170:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1170 | stan::math::transpose(
1171 | stan::model::rvalue(error, "error", stan::model::index_uni(err))),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, -1>, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::Matrix<double, -1, -1>, -1, 1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/col.hpp:26:15: required from 'auto stan::math::col(const T&, size_t) [with T = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0; size_t = long long unsigned int]'
26 | return m.col(j - 1);
| ~~~~~^~~~~~~
SimulationFunctions.cpp:1479:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1479 | stan::model::assign(mu, stan::math::col(parm_matrix, 1),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1497:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1497 | stan::math::elt_multiply(g, stan::math::col(parm_matrix, 2)),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:219:66: required from 'stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)> [with auto:57 = stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>; auto:58 = Eigen::Matrix<double, -1, 1>&; auto:59 = double]'
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; Args = {stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:217:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::Matrix<double, -1, 1>&; T2 = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
217 | return make_holder(
| ~~~~~~~~~~~^
218 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | },
| ~~
223 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>&; T2 = double; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1511:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1511 | stan::math::pow(mu, stan::math::inv((1 - alpha_1)))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:219:66: required from 'stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)> [with auto:57 = stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&; auto:58 = Eigen::Matrix<double, -1, 1>&; auto:59 = double&]'
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; Args = {pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:217:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::Matrix<double, -1, 1>&; T2 = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
217 | return make_holder(
| ~~~~~~~~~~~^
218 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | },
| ~~
223 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>&; T2 = double; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1511:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1511 | stan::math::pow(mu, stan::math::inv((1 - alpha_1)))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >; long long unsigned int ...Is = {0, 1}; Args = {stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; Args = {pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:217:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::Matrix<double, -1, 1>&; T2 = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
217 | return make_holder(
| ~~~~~~~~~~~^
218 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | },
| ~~
223 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>&; T2 = double; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1511:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1511 | stan::math::pow(mu, stan::math::inv((1 - alpha_1)))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Holder<Eigen::CwiseUnaryOp<apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, double>(pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::Matrix<double, -1, 1> >, pow<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1510:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1510 | stan::math::elt_multiply(g_price,
1511 | stan::math::pow(mu, stan::math::inv((1 - alpha_1)))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Matrix<double, -1, 1>, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:193:0: required from 'auto stan::model::rvalue(Vec&&, const char*, index_min_max) [with Vec = Eigen::Matrix<double, -1, 1>&; stan::require_vector_t<T_y>* <anonymous> = 0; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
193 | return v.segment(slice_start, slice_size);
SimulationFunctions.cpp:1540:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1540 | stan::model::rvalue(mu, "mu",
1541 | stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:61:22: required from 'auto stan::math::elt_divide(Scal, const Mat&) [with Scal = double; Mat = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0]'
61 | return (s / m.array()).matrix();
| ~~~~~~~^~
SimulationFunctions.cpp:1539:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1539 | stan::math::elt_divide(lambda,
1540 | stan::model::rvalue(mu, "mu",
1541 | stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:61:13: required from 'auto stan::math::elt_divide(Scal, const Mat&) [with Scal = double; Mat = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0]'
61 | return (s / m.array()).matrix();
| ~~~^~~~~~~~~~~~
SimulationFunctions.cpp:1539:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1539 | stan::math::elt_divide(lambda,
1540 | stan::model::rvalue(mu, "mu",
1541 | stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:61:32: required from 'auto stan::math::elt_divide(Scal, const Mat&) [with Scal = double; Mat = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0]'
61 | return (s / m.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1539:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1539 | stan::math::elt_divide(lambda,
1540 | stan::model::rvalue(mu, "mu",
1541 | stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:219:66: required from 'stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)> [with auto:57 = stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>; auto:58 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; auto:59 = double]'
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >&&, double&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, double}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:217:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
217 | return make_holder(
| ~~~~~~~~~~~^
218 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | },
| ~~
223 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = double; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1538:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1538 | stan::math::pow(
1539 | stan::math::elt_divide(lambda,
1540 | stan::model::rvalue(mu, "mu",
1541 | stan::model::index_min_max(1, M))),
1542 | stan::math::inv((alpha_1 - 1))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:219:66: required from 'stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)> [with auto:57 = stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&; auto:58 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&; auto:59 = double&]'
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; Args = {pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, double}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:217:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
217 | return make_holder(
| ~~~~~~~~~~~^
218 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | },
| ~~
223 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = double; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1538:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1538 | stan::math::pow(
1539 | stan::math::elt_divide(lambda,
1540 | stan::model::rvalue(mu, "mu",
1541 | stan::model::index_min_max(1, M))),
1542 | stan::math::inv((alpha_1 - 1))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >; long long unsigned int ...Is = {0, 1}; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>; Args = {pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, double}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:217:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
217 | return make_holder(
| ~~~~~~~~~~~^
218 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 | },
| ~~
223 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = double; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1538:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1538 | stan::math::pow(
1539 | stan::math::elt_divide(lambda,
1540 | stan::model::rvalue(mu, "mu",
1541 | stan::model::index_min_max(1, M))),
1542 | stan::math::inv((alpha_1 - 1))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Holder<Eigen::CwiseUnaryOp<apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:1537:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1537 | stan::math::subtract(
1538 | stan::math::pow(
1539 | stan::math::elt_divide(lambda,
1540 | stan::model::rvalue(mu, "mu",
1541 | stan::model::index_min_max(1, M))),
1542 | stan::math::inv((alpha_1 - 1))),
1543 | stan::model::rvalue(d, "d",
1544 | stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Holder<Eigen::CwiseUnaryOp<apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:57&&, auto:58&&, auto:59&&)>::<lambda(auto:60&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, double&&)::<lambda(auto:504&&, auto:505&&)>, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1536:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1536 | stan::math::elt_multiply(
1537 | stan::math::subtract(
1538 | stan::math::pow(
1539 | stan::math::elt_divide(lambda,
1540 | stan::model::rvalue(mu, "mu",
1541 | stan::model::index_min_max(1, M))),
1542 | stan::math::inv((alpha_1 - 1))),
1543 | stan::model::rvalue(d, "d",
1544 | stan::model::index_min_max(1, M))),
1545 | stan::model::rvalue(g, "g", stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:18: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~^~
SimulationFunctions.cpp:1608:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1608 | stan::math::subtract(stan::math::col(parm_matrix, 4),
1609 | static_cast<double>(1))), "assigning variable b");
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:21: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1608:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1608 | stan::math::subtract(stan::math::col(parm_matrix, 4),
1609 | static_cast<double>(1))), "assigning variable b");
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:32: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1608:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1608 | stan::math::subtract(stan::math::col(parm_matrix, 4),
1609 | static_cast<double>(1))), "assigning variable b");
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:61:64: required from 'stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)> [with auto:36 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:60:46: required from 'auto stan::math::inv(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0]'
60 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1607:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1607 | stan::math::inv(
1608 | stan::math::subtract(stan::math::col(parm_matrix, 4),
1609 | static_cast<double>(1))), "assigning variable b");
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:61:74: required from 'stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)> [with auto:36 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:60:46: required from 'auto stan::math::inv(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0]'
60 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1607:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1607 | stan::math::inv(
1608 | stan::math::subtract(stan::math::col(parm_matrix, 4),
1609 | static_cast<double>(1))), "assigning variable b");
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:60:46: required from 'auto stan::math::inv(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0]'
60 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1607:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1607 | stan::math::inv(
1608 | stan::math::subtract(stan::math::col(parm_matrix, 4),
1609 | static_cast<double>(1))), "assigning variable b");
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:32: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, 1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1621:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1621 | stan::math::subtract(alpha, static_cast<double>(1))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:61:64: required from 'stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)> [with auto:36 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:60:46: required from 'auto stan::math::inv(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0]'
60 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1620:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1620 | stan::math::inv(
1621 | stan::math::subtract(alpha, static_cast<double>(1))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:61:74: required from 'stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)> [with auto:36 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:60:46: required from 'auto stan::math::inv(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0]'
60 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1620:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1620 | stan::math::inv(
1621 | stan::math::subtract(alpha, static_cast<double>(1))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::inv<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:36&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:60:46: required from 'auto stan::math::inv(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0]'
60 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1620:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1620 | stan::math::inv(
1621 | stan::math::subtract(alpha, static_cast<double>(1))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Mat2 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:1625:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1625 | stan::math::elt_divide(stan::math::col(parm_matrix, 3),
1626 | stan::math::col(parm_matrix, 4)), "assigning variable g__phi");
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Mat2 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1625:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1625 | stan::math::elt_divide(stan::math::col(parm_matrix, 3),
1626 | stan::math::col(parm_matrix, 4)), "assigning variable g__phi");
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:60:67: required from 'stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)> [with auto:46 = stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>; auto:47 = Eigen::Matrix<double, -1, 1>&; auto:48 = Eigen::Matrix<double, -1, 1>&]'
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; Args = {stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:58:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::Matrix<double, -1, 1>&; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_all_eigen_t<Mat1, Mat2>* <anonymous> = 0]'
58 | return make_holder(
| ~~~~~~~~~~~^
59 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 | },
| ~~
64 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>&; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1637:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1637 | stan::math::elt_divide(g_price__phi, stan::math::pow(mu, b)),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; long long unsigned int ...Is = {0}; Args = {stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; Args = {pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:58:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::Matrix<double, -1, 1>&; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_all_eigen_t<Mat1, Mat2>* <anonymous> = 0]'
58 | return make_holder(
| ~~~~~~~~~~~^
59 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 | },
| ~~
64 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>&; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1637:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1637 | stan::math::elt_divide(g_price__phi, stan::math::pow(mu, b)),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:32: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Holder<Eigen::CwiseBinaryOp<pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
SimulationFunctions.cpp:1637:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1637 | stan::math::elt_divide(g_price__phi, stan::math::pow(mu, b)),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Holder<Eigen::CwiseBinaryOp<pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:1637:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1637 | stan::math::elt_divide(g_price__phi, stan::math::pow(mu, b)),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Holder<Eigen::CwiseBinaryOp<pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, pow<Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1637:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1637 | stan::math::elt_divide(g_price__phi, stan::math::pow(mu, b)),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:246:66: required from 'stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)> [with auto:61 = stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; auto:62 = double&; auto:63 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>]'
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; Args = {stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:244:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; T1 = double&; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T2>* <anonymous> = 0]'
244 | return make_holder(
| ~~~~~~~~~~~^
245 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~~
251 | },
| ~~
252 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = double&; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1652:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1652 | stan::math::pow(lambda,
1653 | stan::model::rvalue(b, "b",
1654 | stan::model::index_min_max(1, M)))))
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:246:66: required from 'stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)> [with auto:61 = stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&; auto:62 = double&; auto:63 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&]'
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; Args = {pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:244:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; T1 = double&; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T2>* <anonymous> = 0]'
244 | return make_holder(
| ~~~~~~~~~~~^
245 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~~
251 | },
| ~~
252 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = double&; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1652:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1652 | stan::math::pow(lambda,
1653 | stan::model::rvalue(b, "b",
1654 | stan::model::index_min_max(1, M)))))
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; long long unsigned int ...Is = {0}; Args = {stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; Args = {pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:244:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; T1 = double&; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T2>* <anonymous> = 0]'
244 | return make_holder(
| ~~~~~~~~~~~^
245 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~~
251 | },
| ~~
252 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = double&; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1652:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1652 | stan::math::pow(lambda,
1653 | stan::model::rvalue(b, "b",
1654 | stan::model::index_min_max(1, M)))))
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Holder<Eigen::CwiseUnaryOp<apply_scalar_binary<pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, pow<double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(double&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1649:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1649 | stan::math::elt_multiply(
1650 | stan::model::rvalue(gpo_c, "gpo_c",
1651 | stan::model::index_min_max(1, M)),
1652 | stan::math::pow(lambda,
1653 | stan::model::rvalue(b, "b",
1654 | stan::model::index_min_max(1, M)))))
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:60:67: required from 'stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)> [with auto:46 = stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; auto:47 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; auto:48 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>]'
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:58:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<Mat1, Mat2>* <anonymous> = 0]'
58 | return make_holder(
| ~~~~~~~~~~~^
59 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 | },
| ~~
64 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1714:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1714 | stan::math::pow(
1715 | stan::math::elt_divide(lambda,
1716 | stan::model::rvalue(mu, "mu",
1717 | stan::model::index_min_max(1, M))),
1718 | stan::model::rvalue(b, "b",
1719 | stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; long long unsigned int ...Is = {0}; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; Args = {pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:58:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<Mat1, Mat2>* <anonymous> = 0]'
58 | return make_holder(
| ~~~~~~~~~~~^
59 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 | },
| ~~
64 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1714:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1714 | stan::math::pow(
1715 | stan::math::elt_divide(lambda,
1716 | stan::model::rvalue(mu, "mu",
1717 | stan::model::index_min_max(1, M))),
1718 | stan::model::rvalue(b, "b",
1719 | stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Holder<Eigen::CwiseBinaryOp<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:1713:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1713 | stan::math::subtract(
1714 | stan::math::pow(
1715 | stan::math::elt_divide(lambda,
1716 | stan::model::rvalue(mu, "mu",
1717 | stan::model::index_min_max(1, M))),
1718 | stan::model::rvalue(b, "b",
1719 | stan::model::index_min_max(1, M))),
1720 | stan::model::rvalue(d, "d",
1721 | stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Holder<Eigen::CwiseBinaryOp<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1> >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1712:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1712 | stan::math::elt_multiply(
1713 | stan::math::subtract(
1714 | stan::math::pow(
1715 | stan::math::elt_divide(lambda,
1716 | stan::model::rvalue(mu, "mu",
1717 | stan::model::index_min_max(1, M))),
1718 | stan::model::rvalue(b, "b",
1719 | stan::model::index_min_max(1, M))),
1720 | stan::model::rvalue(d, "d",
1721 | stan::model::index_min_max(1, M))),
1722 | stan::model::rvalue(g__phi, "g__phi",
1723 | stan::model::index_min_max(1, M))), "assigning variable X",
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:153:7: required from 'class Eigen::IndexedViewImpl<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange, Eigen::Dense>'
153 | class IndexedViewImpl
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:109:7: required from 'class Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>'
109 | class IndexedView : public IndexedViewImpl<XprType, RowIndices, ColIndices, typename internal::traits<XprType>::StorageKind>
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:168:0: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::model::rvalue<Eigen::Matrix<double, -1, 1>&, index_multi>(Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::model::rvalue<Eigen::Matrix<double, -1, 1>&, index_multi>(Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::model::rvalue<Eigen::Matrix<double, -1, 1>&, index_multi>(Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:164:0: required from 'auto stan::model::rvalue(EigVec&&, const char*, MultiIndex&&) [with EigVec = Eigen::Matrix<double, -1, 1>&; MultiIndex = index_multi; stan::require_eigen_vector_t<C>* <anonymous> = 0; stan::require_same_t<MultiIndex, index_multi>* <anonymous> = 0]'
164 | return stan::math::make_holder(
165 | [](auto&& v_ref, auto&& idx_inner) {
166 | Eigen::Map<const Eigen::Array<int, -1, 1>> idx2(idx_inner.ns_.data(),
167 | idx_inner.ns_.size());
168 | return std::forward<decltype(v_ref)>(v_ref)(idx2 - 1);
169 | },
170 | std::forward<fwd_t>(stan::math::to_ref(std::forward<EigVec>(v))),
171 | std::forward<MultiIndex>(idx));
SimulationFunctions.cpp:1740:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1740 | stan::model::rvalue(X, "X", stan::model::index_multi(order_x)),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, stan::model::index_multi>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, stan::model::index_multi>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, stan::model::index_multi> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, stan::model::index_multi> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, stan::model::index_multi>'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::IndexedView<Eigen::Matrix<double, -1, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>; long long unsigned int ...Is = {0}; Args = {stan::model::index_multi}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::model::rvalue<Eigen::Matrix<double, -1, 1>&, index_multi>(Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>; long long unsigned int ...Is = {0, 1}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::model::rvalue<Eigen::Matrix<double, -1, 1>&, index_multi>(Eigen::Matrix<double, -1, 1>&, const char*, index_multi&&)::<lambda(auto:924&&, auto:925&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&, stan::model::index_multi}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:164:0: required from 'auto stan::model::rvalue(EigVec&&, const char*, MultiIndex&&) [with EigVec = Eigen::Matrix<double, -1, 1>&; MultiIndex = index_multi; stan::require_eigen_vector_t<C>* <anonymous> = 0; stan::require_same_t<MultiIndex, index_multi>* <anonymous> = 0]'
164 | return stan::math::make_holder(
165 | [](auto&& v_ref, auto&& idx_inner) {
166 | Eigen::Map<const Eigen::Array<int, -1, 1>> idx2(idx_inner.ns_.data(),
167 | idx_inner.ns_.size());
168 | return std::forward<decltype(v_ref)>(v_ref)(idx2 - 1);
169 | },
170 | std::forward<fwd_t>(stan::math::to_ref(std::forward<EigVec>(v))),
171 | std::forward<MultiIndex>(idx));
SimulationFunctions.cpp:1740:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1740 | stan::model::rvalue(X, "X", stan::model::index_multi(order_x)),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from 'auto stan::math::transpose(const T&) [with T = Eigen::Matrix<double, -1, 1>; stan::require_matrix_t<T>* <anonymous> = 0]'
18 | return m.transpose();
| ~~~~~~~~~~~^~
SimulationFunctions.cpp:1812:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1812 | stan::math::multiply(stan::math::transpose(price_j), quant_j))));
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1831:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1831 | stan::math::elt_multiply(
1832 | stan::model::rvalue(psi, "psi",
1833 | stan::model::index_min_max(2, (nalts + 1))), gamma_j),
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1830:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1830 | stan::math::elt_multiply(
1831 | stan::math::elt_multiply(
1832 | stan::model::rvalue(psi, "psi",
1833 | stan::model::index_min_max(2, (nalts + 1))), gamma_j),
1834 | stan::math::log(
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1836 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:19: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
SimulationFunctions.cpp:1847:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:1847:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1847:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:18: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~^~
SimulationFunctions.cpp:1846:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:21: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1846:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:32: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1846:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1845:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1845 | stan::math::log(
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1845:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1845 | stan::math::log(
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1845:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1845 | stan::math::log(
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1842:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1842 | stan::math::elt_multiply(
1843 | stan::model::rvalue(psi, "psi",
1844 | stan::model::index_min_max(2, (nalts + 1))),
1845 | stan::math::log(
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1959:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1959 | stan::math::elt_multiply(
1960 | stan::model::rvalue(psi, "psi",
1961 | stan::model::index_min_max(2, M)),
1962 | stan::model::rvalue(g, "g", stan::model::index_min_max(2, M))),
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:84:12: required from 'auto stan::math::multiply(Scal, const Mat&) [with Scal = double; Mat = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0; stan::require_all_not_complex_t<Scal, typename stan::value_type<S, void>::type>* <anonymous> = 0]'
84 | return c * m;
| ~~^~~
SimulationFunctions.cpp:1967:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1967 | stan::math::multiply(lambda1,
1968 | stan::model::rvalue(price, "price",
1969 | stan::model::index_min_max(2, M))))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:32: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
SimulationFunctions.cpp:1964:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1964 | stan::math::elt_divide(
1965 | stan::model::rvalue(psi, "psi",
1966 | stan::model::index_min_max(2, M)),
1967 | stan::math::multiply(lambda1,
1968 | stan::model::rvalue(price, "price",
1969 | stan::model::index_min_max(2, M))))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:1964:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1964 | stan::math::elt_divide(
1965 | stan::model::rvalue(psi, "psi",
1966 | stan::model::index_min_max(2, M)),
1967 | stan::math::multiply(lambda1,
1968 | stan::model::rvalue(price, "price",
1969 | stan::model::index_min_max(2, M))))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1964:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1964 | stan::math::elt_divide(
1965 | stan::model::rvalue(psi, "psi",
1966 | stan::model::index_min_max(2, M)),
1967 | stan::math::multiply(lambda1,
1968 | stan::model::rvalue(price, "price",
1969 | stan::model::index_min_max(2, M))))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1963:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1963 | stan::math::log(
1964 | stan::math::elt_divide(
1965 | stan::model::rvalue(psi, "psi",
1966 | stan::model::index_min_max(2, M)),
1967 | stan::math::multiply(lambda1,
1968 | stan::model::rvalue(price, "price",
1969 | stan::model::index_min_max(2, M))))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1963:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1963 | stan::math::log(
1964 | stan::math::elt_divide(
1965 | stan::model::rvalue(psi, "psi",
1966 | stan::model::index_min_max(2, M)),
1967 | stan::math::multiply(lambda1,
1968 | stan::model::rvalue(price, "price",
1969 | stan::model::index_min_max(2, M))))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1963:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1963 | stan::math::log(
1964 | stan::math::elt_divide(
1965 | stan::model::rvalue(psi, "psi",
1966 | stan::model::index_min_max(2, M)),
1967 | stan::math::multiply(lambda1,
1968 | stan::model::rvalue(price, "price",
1969 | stan::model::index_min_max(2, M))))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1958:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1958 | stan::math::elt_multiply(
1959 | stan::math::elt_multiply(
1960 | stan::model::rvalue(psi, "psi",
1961 | stan::model::index_min_max(2, M)),
1962 | stan::model::rvalue(g, "g", stan::model::index_min_max(2, M))),
1963 | stan::math::log(
1964 | stan::math::elt_divide(
1965 | stan::model::rvalue(psi, "psi",
1966 | stan::model::index_min_max(2, M)),
1967 | stan::math::multiply(lambda1,
1968 | stan::model::rvalue(price, "price",
1969 | stan::model::index_min_max(2, M))))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:246:66: required from 'stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)> [with auto:61 = stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; auto:62 = const double&; auto:63 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>]'
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; Args = {stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:244:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; T1 = const double&; T2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T2>* <anonymous> = 0]'
244 | return make_holder(
| ~~~~~~~~~~~^
245 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~~
251 | },
| ~~
252 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = const double&; T2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1979:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1979 | stan::math::pow(lambda1,
1980 | stan::model::rvalue(a_a_1, "a_a_1",
1981 | stan::model::index_min_max(2, M))),
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:246:66: required from 'stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)> [with auto:61 = stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&; auto:62 = const double&; auto:63 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&]'
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; Args = {pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:244:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; T1 = const double&; T2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T2>* <anonymous> = 0]'
244 | return make_holder(
| ~~~~~~~~~~~^
245 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~~
251 | },
| ~~
252 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = const double&; T2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1979:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1979 | stan::math::pow(lambda1,
1980 | stan::model::rvalue(a_a_1, "a_a_1",
1981 | stan::model::index_min_max(2, M))),
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; long long unsigned int ...Is = {0}; Args = {stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>; Args = {pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:244:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>; T1 = const double&; T2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T2>* <anonymous> = 0]'
244 | return make_holder(
| ~~~~~~~~~~~^
245 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | return std::forward<decltype(y_inner)>(y_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | x_inner](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~
249 | return f_inner_(x_inner, std::forward<decltype(v)>(v));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | });
| ~~~
251 | },
| ~~
252 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = const double&; T2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1979:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1979 | stan::math::pow(lambda1,
1980 | stan::model::rvalue(a_a_1, "a_a_1",
1981 | stan::model::index_min_max(2, M))),
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Holder<Eigen::CwiseUnaryOp<apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >; Mat2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1978:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1978 | stan::math::elt_multiply(
1979 | stan::math::pow(lambda1,
1980 | stan::model::rvalue(a_a_1, "a_a_1",
1981 | stan::model::index_min_max(2, M))),
1982 | stan::model::rvalue(mu_a_a_1, "mu_a_a_1",
1983 | stan::model::index_min_max(2, M))),
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Holder<Eigen::CwiseUnaryOp<apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Mat2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:1977:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1977 | stan::math::subtract(
1978 | stan::math::elt_multiply(
1979 | stan::math::pow(lambda1,
1980 | stan::model::rvalue(a_a_1, "a_a_1",
1981 | stan::model::index_min_max(2, M))),
1982 | stan::model::rvalue(mu_a_a_1, "mu_a_a_1",
1983 | stan::model::index_min_max(2, M))),
1984 | stan::model::rvalue(d, "d", stan::model::index_min_max(2, M))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, stan::math::pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Holder<Eigen::CwiseUnaryOp<apply_scalar_binary<pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)>&&, const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:61&&, auto:62&&, auto:63&&)>::<lambda(auto:64&&)>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, pow<const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(const double&, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1974:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1974 | stan::math::elt_multiply(
1975 | stan::model::rvalue(g_psi_a, "g_psi_a",
1976 | stan::model::index_min_max(2, M)),
1977 | stan::math::subtract(
1978 | stan::math::elt_multiply(
1979 | stan::math::pow(lambda1,
1980 | stan::model::rvalue(a_a_1, "a_a_1",
1981 | stan::model::index_min_max(2, M))),
1982 | stan::model::rvalue(mu_a_a_1, "mu_a_a_1",
1983 | stan::model::index_min_max(2, M))),
1984 | stan::model::rvalue(d, "d", stan::model::index_min_max(2, M))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/as_array_or_scalar.hpp:57:51: required from 'stan::math::as_array_or_scalar<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1> >(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&)::<lambda(auto:29&&)> [with auto:29 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>]'
57 | return make_holder([](auto&& x) { return x.array(); }, std::forward<T>(v));
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>&&, const double&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>&&, const double&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>, const double&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T2 = const double&; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2038:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = double; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::math::disjunction<stan::is_autodiff_scalar<T4__>, std::is_floating_point<typename std::decay<T4>::type> > >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2038 | stan::math::divide(
2039 | stan::model::rvalue(mu, "mu",
2040 | stan::model::index_min_max(2, M)), lambda1))))));
SimulationFunctions.cpp:3490:0: required from here
3490 | return model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(
3491 | M, lambda1, psi, mu, alpha_1, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:50:17: required from 'stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)> [with auto:485 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; auto:486 = const double&]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>&&, const double&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>&&, const double&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>, const double&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T2 = const double&; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2038:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = double; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::math::disjunction<stan::is_autodiff_scalar<T4__>, std::is_floating_point<typename std::decay<T4>::type> > >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2038 | stan::math::divide(
2039 | stan::model::rvalue(mu, "mu",
2040 | stan::model::index_min_max(2, M)), lambda1))))));
SimulationFunctions.cpp:3490:0: required from here
3490 | return model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(
3491 | M, lambda1, psi, mu, alpha_1, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:51:20: required from 'stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)> [with auto:485 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; auto:486 = const double&]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>&&, const double&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)>, Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>&&, const double&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::divide<Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>, const double&>(Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&&, const double&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1>, const double&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T2 = const double&; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2038:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = double; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::math::disjunction<stan::is_autodiff_scalar<T4__>, std::is_floating_point<typename std::decay<T4>::type> > >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2038 | stan::math::divide(
2039 | stan::model::rvalue(mu, "mu",
2040 | stan::model::index_min_max(2, M)), lambda1))))));
SimulationFunctions.cpp:3490:0: required from here
3490 | return model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(
3491 | M, lambda1, psi, mu, alpha_1, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2037:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = double; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::math::disjunction<stan::is_autodiff_scalar<T4__>, std::is_floating_point<typename std::decay<T4>::type> > >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2037 | stan::math::log(
2038 | stan::math::divide(
2039 | stan::model::rvalue(mu, "mu",
2040 | stan::model::index_min_max(2, M)), lambda1))))));
SimulationFunctions.cpp:3490:0: required from here
3490 | return model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(
3491 | M, lambda1, psi, mu, alpha_1, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2037:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = double; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::math::disjunction<stan::is_autodiff_scalar<T4__>, std::is_floating_point<typename std::decay<T4>::type> > >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2037 | stan::math::log(
2038 | stan::math::divide(
2039 | stan::model::rvalue(mu, "mu",
2040 | stan::model::index_min_max(2, M)), lambda1))))));
SimulationFunctions.cpp:3490:0: required from here
3490 | return model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(
3491 | M, lambda1, psi, mu, alpha_1, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2037:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = double; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::math::disjunction<stan::is_autodiff_scalar<T4__>, std::is_floating_point<typename std::decay<T4>::type> > >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2037 | stan::math::log(
2038 | stan::math::divide(
2039 | stan::model::rvalue(mu, "mu",
2040 | stan::model::index_min_max(2, M)), lambda1))))));
SimulationFunctions.cpp:3490:0: required from here
3490 | return model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(
3491 | M, lambda1, psi, mu, alpha_1, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:2034:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = double; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::math::disjunction<stan::is_autodiff_scalar<T4__>, std::is_floating_point<typename std::decay<T4>::type> > >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2034 | stan::math::elt_multiply(
2035 | stan::model::rvalue(psi, "psi",
2036 | stan::model::index_min_max(2, M)),
2037 | stan::math::log(
2038 | stan::math::divide(
2039 | stan::model::rvalue(mu, "mu",
2040 | stan::model::index_min_max(2, M)), lambda1))))));
SimulationFunctions.cpp:3490:0: required from here
3490 | return model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(
3491 | M, lambda1, psi, mu, alpha_1, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:2230:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2230 | stan::math::elt_multiply(stan::math::elt_multiply(g, mu),
2231 | stan::math::col(parm_matrix, 2)), "assigning variable g_psi");
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:218&&)>; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, 1>&]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Matrix<double, -1, 1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2249:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2249 | stan::math::elt_multiply(g_psi, stan::math::log(mu)),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:2249:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2249 | stan::math::elt_multiply(g_psi, stan::math::log(mu)),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:32: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
SimulationFunctions.cpp:2389:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2389 | stan::math::elt_divide(a,
2390 | stan::math::subtract(a, static_cast<double>(1))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:2389:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2389 | stan::math::elt_divide(a,
2390 | stan::math::subtract(a, static_cast<double>(1))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:2389:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2389 | stan::math::elt_divide(a,
2390 | stan::math::subtract(a, static_cast<double>(1))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:61:74: required from 'stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)> [with auto:36 = Eigen::Matrix<double, -1, 1>&]'
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, 1>&]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:60:46: required from 'auto stan::math::inv(Container&&) [with Container = Eigen::Matrix<double, -1, 1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0]'
60 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2402:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2402 | stan::math::pow(stan::math::inv(mu), a_a_1),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::inv<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:36&&)>; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, 1>&]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:60:46: required from 'auto stan::math::inv(Container&&) [with Container = Eigen::Matrix<double, -1, 1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0]'
60 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2402:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2402 | stan::math::pow(stan::math::inv(mu), a_a_1),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:60:67: required from 'stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)> [with auto:46 = stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>; auto:47 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >; auto:48 = Eigen::Matrix<double, -1, 1>&]'
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>, stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; Args = {stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:58:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_all_eigen_t<Mat1, Mat2>* <anonymous> = 0]'
58 | return make_holder(
| ~~~~~~~~~~~^
59 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 | },
| ~~
64 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2402:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2402 | stan::math::pow(stan::math::inv(mu), a_a_1),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >, stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >; long long unsigned int ...Is = {0}; Args = {stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; Args = {pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:58:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1>&>(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >&&, Eigen::Matrix<double, -1, 1>&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_all_eigen_t<Mat1, Mat2>* <anonymous> = 0]'
58 | return make_holder(
| ~~~~~~~~~~~^
59 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 | },
| ~~
64 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2402:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2402 | stan::math::pow(stan::math::inv(mu), a_a_1),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:2423:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2423 | stan::math::elt_multiply(
2424 | stan::math::elt_multiply(mu, stan::math::col(parm_matrix, 2)),
2425 | g__phi), "assigning variable psi_ord");
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:21: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~^~~~
SimulationFunctions.cpp:2504:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2504 | stan::math::subtract(
2505 | stan::model::rvalue(a, "a",
2506 | stan::model::index_min_max(1, M)),
2507 | static_cast<double>(1)))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:32: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat, Scal>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:2504:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2504 | stan::math::subtract(
2505 | stan::model::rvalue(a, "a",
2506 | stan::model::index_min_max(1, M)),
2507 | static_cast<double>(1)))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:61:22: required from 'auto stan::math::elt_divide(Scal, const Mat&) [with Scal = double; Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0]'
61 | return (s / m.array()).matrix();
| ~~~~~~~^~
SimulationFunctions.cpp:2503:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2503 | stan::math::elt_divide(static_cast<double>(1),
2504 | stan::math::subtract(
2505 | stan::model::rvalue(a, "a",
2506 | stan::model::index_min_max(1, M)),
2507 | static_cast<double>(1)))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:61:13: required from 'auto stan::math::elt_divide(Scal, const Mat&) [with Scal = double; Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0]'
61 | return (s / m.array()).matrix();
| ~~~^~~~~~~~~~~~
SimulationFunctions.cpp:2503:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2503 | stan::math::elt_divide(static_cast<double>(1),
2504 | stan::math::subtract(
2505 | stan::model::rvalue(a, "a",
2506 | stan::model::index_min_max(1, M)),
2507 | static_cast<double>(1)))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:61:32: required from 'auto stan::math::elt_divide(Scal, const Mat&) [with Scal = double; Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0]'
61 | return (s / m.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:2503:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2503 | stan::math::elt_divide(static_cast<double>(1),
2504 | stan::math::subtract(
2505 | stan::model::rvalue(a, "a",
2506 | stan::model::index_min_max(1, M)),
2507 | static_cast<double>(1)))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:60:67: required from 'stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)> [with auto:46 = stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>; auto:47 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; auto:48 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >]'
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:58:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_all_eigen_t<Mat1, Mat2>* <anonymous> = 0]'
58 | return make_holder(
| ~~~~~~~~~~~^
59 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 | },
| ~~
64 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2499:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2499 | stan::math::pow(
2500 | stan::math::elt_divide(lambda1,
2501 | stan::model::rvalue(mu, "mu",
2502 | stan::model::index_min_max(1, M))),
2503 | stan::math::elt_divide(static_cast<double>(1),
2504 | stan::math::subtract(
2505 | stan::model::rvalue(a, "a",
2506 | stan::model::index_min_max(1, M)),
2507 | static_cast<double>(1)))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >; long long unsigned int ...Is = {0}; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_binary<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:46&&, auto:47&&, auto:48&&)>; Args = {pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > > >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:58:21: required from 'auto stan::math::apply_scalar_binary(F&&, T1&&, T2&&) [with F = pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>; T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_all_eigen_t<Mat1, Mat2>* <anonymous> = 0]'
58 | return make_holder(
| ~~~~~~~~~~~^
59 | [](auto&& f_inner, auto&& x_inner, auto&& y_inner) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | return std::forward<decltype(x_inner)>(x_inner).binaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | std::forward<decltype(y_inner)>(y_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | std::forward<decltype(f_inner)>(f_inner));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63 | },
| ~~
64 | std::forward<F>(f), std::forward<T1>(x), std::forward<T2>(y));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/pow.hpp:112:29: required from 'auto stan::math::pow(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_any_container_t<T1, T2>* <anonymous> = 0; stan::require_all_not_matrix_st<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_all_arithmetic_t<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type>* <anonymous> = 0]'
112 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
113 | // Qualified pow since only Arithmetic types are accepted here
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
115 | return stan::math::pow(std::forward<decltype(c)>(c),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | },
| ~~
118 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2499:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2499 | stan::math::pow(
2500 | stan::math::elt_divide(lambda1,
2501 | stan::model::rvalue(mu, "mu",
2502 | stan::model::index_min_max(1, M))),
2503 | stan::math::elt_divide(static_cast<double>(1),
2504 | stan::math::subtract(
2505 | stan::model::rvalue(a, "a",
2506 | stan::model::index_min_max(1, M)),
2507 | static_cast<double>(1)))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Holder<Eigen::CwiseBinaryOp<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:2498:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2498 | stan::math::subtract(
2499 | stan::math::pow(
2500 | stan::math::elt_divide(lambda1,
2501 | stan::model::rvalue(mu, "mu",
2502 | stan::model::index_min_max(1, M))),
2503 | stan::math::elt_divide(static_cast<double>(1),
2504 | stan::math::subtract(
2505 | stan::model::rvalue(a, "a",
2506 | stan::model::index_min_max(1, M)),
2507 | static_cast<double>(1)))),
2508 | stan::model::rvalue(d, "d",
2509 | stan::model::index_min_max(1, M))),
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const stan::math::Holder<Eigen::CwiseBinaryOp<stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, stan::math::pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Holder<Eigen::CwiseBinaryOp<pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, pow<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >&&, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >&&)::<lambda(auto:504&&, auto:505&&)> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:2497:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2497 | stan::math::elt_multiply(
2498 | stan::math::subtract(
2499 | stan::math::pow(
2500 | stan::math::elt_divide(lambda1,
2501 | stan::model::rvalue(mu, "mu",
2502 | stan::model::index_min_max(1, M))),
2503 | stan::math::elt_divide(static_cast<double>(1),
2504 | stan::math::subtract(
2505 | stan::model::rvalue(a, "a",
2506 | stan::model::index_min_max(1, M)),
2507 | static_cast<double>(1)))),
2508 | stan::model::rvalue(d, "d",
2509 | stan::model::index_min_max(1, M))),
2510 | stan::model::rvalue(g__phi, "g__phi",
2511 | stan::model::index_min_max(1, M))), "assigning variable X",
SimulationFunctions.cpp:3502:0: required from here
3502 | return model131e81eff76c5_User_defined_functions_namespace::HicksianDemand(
3503 | util, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3504 | model_num, tol_l, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, -1>, 1, -1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::Matrix<double, -1, -1>, 1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:257:0: required from 'auto stan::model::rvalue(Mat&&, const char*, index_uni) [with Mat = const Eigen::Matrix<double, -1, -1>&; stan::require_dense_dynamic_t<T_y>* <anonymous> = 0]'
257 | return x.row(idx.n_ - 1);
SimulationFunctions.cpp:2658:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2658 | stan::model::rvalue(psi_sims, "psi_sims",
2659 | stan::model::index_uni(sim))), "assigning variable psi_j");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from 'auto stan::math::transpose(const T&) [with T = Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>; stan::require_matrix_t<T>* <anonymous> = 0]'
18 | return m.transpose();
| ~~~~~~~~~~~^~
SimulationFunctions.cpp:2657:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2657 | stan::math::transpose(
2658 | stan::model::rvalue(psi_sims, "psi_sims",
2659 | stan::model::index_uni(sim))), "assigning variable psi_j");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
SimulationFunctions.cpp:2784:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2784 | stan::math::add(psi0_j,
2785 | stan::model::rvalue(error, "error", stan::model::index_uni(err)))),
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:64: required from 'stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)> [with auto:394 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&]'
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2783:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2783 | stan::math::exp(
2784 | stan::math::add(psi0_j,
2785 | stan::model::rvalue(error, "error", stan::model::index_uni(err)))),
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:70: required from 'stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)> [with auto:394 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&]'
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2783:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2783 | stan::math::exp(
2784 | stan::math::add(psi0_j,
2785 | stan::model::rvalue(error, "error", stan::model::index_uni(err)))),
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&, stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&, stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&, stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>&&)::<lambda(auto:33&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&, stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:394&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2783:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2783 | stan::math::exp(
2784 | stan::math::add(psi0_j,
2785 | stan::model::rvalue(error, "error", stan::model::index_uni(err)))),
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:19: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
SimulationFunctions.cpp:2888:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2888 | stan::math::elt_divide(
2889 | stan::math::exp(
2890 | stan::math::add(psi0_p,
2891 | stan::model::rvalue(error, "error",
2892 | stan::model::index_uni(err)))), price_p),
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:2888:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2888 | stan::math::elt_divide(
2889 | stan::math::exp(
2890 | stan::math::add(psi0_p,
2891 | stan::model::rvalue(error, "error",
2892 | stan::model::index_uni(err)))), price_p),
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:2888:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2888 | stan::math::elt_divide(
2889 | stan::math::exp(
2890 | stan::math::add(psi0_p,
2891 | stan::model::rvalue(error, "error",
2892 | stan::model::index_uni(err)))), price_p),
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; long long unsigned int ...Is = {0}; Args = {double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::divide<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:485&&, auto:486&&)>; long long unsigned int ...Is = {0, 1}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = divide<Eigen::Matrix<double, -1, 1>&, double>(Eigen::Matrix<double, -1, 1>&, double&&)::<lambda(auto:485&&, auto:486&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&, double}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>&; T2 = double; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:3226:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> > model131e81eff76c5_User_defined_functions_namespace::CalcMarshallianDemand_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
3226 | stan::math::divide(mdemand_p, static_cast<double>(nerrs))),
SimulationFunctions.cpp:3549:0: required from here
3549 | return model131e81eff76c5_User_defined_functions_namespace::CalcMarshallianDemand_rng(
3550 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3551 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3552 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3553 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from 'auto stan::math::transpose(const T&) [with T = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>; stan::require_matrix_t<T>* <anonymous> = 0]'
18 | return m.transpose();
| ~~~~~~~~~~~^~
SimulationFunctions.cpp:3225:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> > model131e81eff76c5_User_defined_functions_namespace::CalcMarshallianDemand_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
3225 | stan::math::transpose(
3226 | stan::math::divide(mdemand_p, static_cast<double>(nerrs))),
SimulationFunctions.cpp:3549:0: required from here
3549 | return model131e81eff76c5_User_defined_functions_namespace::CalcMarshallianDemand_rng(
3550 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3551 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3552 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3553 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err.hpp:6,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/coupled_ode_system.hpp:5,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor.hpp:9:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp: In instantiation of 'static void stan::math::internal::bounded<T_y, T_low, T_high, y_is_vec>::check(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = double; T_low = int; T_high = int; bool y_is_vec = false]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:75: required from 'void stan::math::check_bounded(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = double; T_low = int; T_high = int]'
80 | internal::bounded<T_y, T_low, T_high, is_vector_like<T_y>::value>::check(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
81 | function, name, y, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:16: required from here
32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:30:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
30 | for (size_t n = 0; n < max_size(low, high); n++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp: In instantiation of 'static void stan::math::internal::bounded<T_y, T_low, T_high, y_is_vec>::check(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = int; T_low = int; T_high = int; bool y_is_vec = false]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:75: required from 'void stan::math::check_bounded(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = int; T_low = int; T_high = int]'
80 | internal::bounded<T_y, T_low, T_high, is_vector_like<T_y>::value>::check(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
81 | function, name, y, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/one_hot_array.hpp:23:16: required from here
23 | check_bounded(function, "k", k, 1, K);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:30:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
30 | for (size_t n = 0; n < max_size(low, high); n++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:102:38: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const ColVec&, const Scal&) [with ColVec = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Scal = double; stan::require_t<stan::is_eigen_col_vector<T> >* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
102 | result << A.template cast<T_return>(), B;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:28:19: required from 'stan::return_type_t<T, L, U> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
28 | = append_row(as_array_or_scalar(b), 1.0);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::Matrix<double, -1, 1>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Matrix<double, -1, 1> > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: required from 'struct Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >::CastXpr<double>'
48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:75:41: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const Scal&, const ColVec&) [with Scal = double; ColVec = Eigen::Matrix<double, -1, 1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_t<stan::is_eigen_col_vector<Col> >* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
75 | result << A, B.template cast<T_return>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1092:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1092 | stan::math::append_row(quant_num, quant_j),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: required from 'struct Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >::CastXpr<double>'
48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:75:41: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const Scal&, const ColVec&) [with Scal = double; ColVec = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_t<stan::is_eigen_col_vector<Col> >* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
75 | result << A, B.template cast<T_return>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1135:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | stan::math::append_row(0.0,
1136 | stan::math::divide(stan::math::subtract(v1, vk), scale)),
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: required from 'struct Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >::CastXpr<double>'
48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:75:41: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const Scal&, const ColVec&) [with Scal = double; ColVec = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_t<stan::is_eigen_col_vector<Col> >* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
75 | result << A, B.template cast<T_return>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1218:0: required from 'std::vector<int> model131e81eff76c5_User_defined_functions_namespace::CalcAltOrder(const T0__&, const T1__&, std::ostream*) [with T0__ = Eigen::Matrix<double, -1, 1>; T1__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, std::is_integral<typename std::decay<_Tp2>::type> >* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
1218 | stan::math::append_row(1.0,
1219 | stan::math::add(stan::math::to_vector(order_MU),
1220 | static_cast<double>(1)))), "assigning variable order_x");
SimulationFunctions.cpp:3429:0: required from here
3429 | return model131e81eff76c5_User_defined_functions_namespace::CalcAltOrder(
3430 | MUzero, nalts, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: required from 'struct Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >::CastXpr<double>'
48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:75:41: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const Scal&, const ColVec&) [with Scal = double; ColVec = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_t<stan::is_eigen_col_vector<Col> >* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
75 | result << A, B.template cast<T_return>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1425:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1425 | stan::math::append_row(0.0, stan::math::rep_vector(1.0, nalts)),
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: required from 'struct Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > >::CastXpr<double>'
48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:75:41: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const Scal&, const ColVec&) [with Scal = double; ColVec = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_t<stan::is_eigen_col_vector<Col> >* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
75 | result << A, B.template cast<T_return>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:2680:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2680 | stan::math::append_row(static_cast<double>(1),
2681 | stan::math::transpose(
2682 | stan::model::rvalue(gamma_sims, "gamma_sims",
2683 | stan::model::index_uni(sim)))), "assigning variable gamma");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:277:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Ref.h:44:50: required from 'struct Eigen::internal::traits<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >::match<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
44 | DerivedAlignment = int(evaluator<Derived>::Alignment),
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/ref_type.hpp:44:38: required from 'struct stan::ref_type_if<true, const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&, void>'
44 | template match<T_dec>::MatchAtCompileTime
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/ref_type.hpp:56:7: required by substitution of 'template<class T> using stan::ref_type_t = typename stan::ref_type_if<true, T>::type [with T = const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&]'
56 | using ref_type_t = typename ref_type_if<true, T>::type;
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:24: required by substitution of 'template<class T, stan::math::require_not_tuple_t<T>* <anonymous> > stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&; stan::math::require_not_tuple_t<T>* <anonymous> = 0]'
18 | inline ref_type_t<T&&> to_ref(T&& a) {
| ^~~~~~
SimulationFunctions.cpp:1041:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1041 | const auto& price_j = stan::math::to_ref(price_j_arg__);
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Ref.h:44:50: required from 'struct Eigen::internal::traits<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >::match<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
44 | DerivedAlignment = int(evaluator<Derived>::Alignment),
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/ref_type.hpp:44:38: required from 'struct stan::ref_type_if<true, const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&, void>'
44 | template match<T_dec>::MatchAtCompileTime
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/ref_type.hpp:56:7: required by substitution of 'template<class T> using stan::ref_type_t = typename stan::ref_type_if<true, T>::type [with T = const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&]'
56 | using ref_type_t = typename ref_type_if<true, T>::type;
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:18:24: required by substitution of 'template<class T, stan::math::require_not_tuple_t<T>* <anonymous> > stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&; stan::math::require_not_tuple_t<T>* <anonymous> = 0]'
18 | inline ref_type_t<T&&> to_ref(T&& a) {
| ^~~~~~
SimulationFunctions.cpp:1043:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1043 | const auto& phi_j = stan::math::to_ref(phi_j_arg__);
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:18: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~^~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:21: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:32: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1119:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1118:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1118:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1118:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1113:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1113 | stan::math::elt_multiply(
1114 | stan::math::subtract(
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
1117 | static_cast<double>(1)),
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
SimulationFunctions.cpp:1112:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1112 | stan::math::add(psi_j,
1113 | stan::math::elt_multiply(
1114 | stan::math::subtract(
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
1117 | static_cast<double>(1)),
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)> [with auto:218 = const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>; T2 = const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1120:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&, void>::apply<stan::math::log<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>, const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&, stan::math::log<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&, void>::apply<stan::math::log<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>, const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&, stan::math::log<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&, void>::apply<stan::math::log<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>, const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&, stan::math::log<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>; T2 = const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1120:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:1111:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1111 | stan::math::subtract(
1112 | stan::math::add(psi_j,
1113 | stan::math::elt_multiply(
1114 | stan::math::subtract(
1115 | stan::model::rvalue(alpha, "alpha",
1116 | stan::model::index_min_max(2, (nalts + 1))),
1117 | static_cast<double>(1)),
1118 | stan::math::log(
1119 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1120 | static_cast<double>(1))))), stan::math::log(price_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1129:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
SimulationFunctions.cpp:1129:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1128:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1128:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >&&)::<lambda(auto:218&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1128:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:1127:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1127 | stan::math::subtract(psi_j,
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)> [with auto:218 = const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>; T2 = const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1130:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&, void>::apply<stan::math::log<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>, const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&, stan::math::log<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&, void>::apply<stan::math::log<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>, const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&, stan::math::log<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&, void>::apply<stan::math::log<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>, const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&, stan::math::log<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&>(const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&)::<lambda(auto:218&&)>; T2 = const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1130:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
SimulationFunctions.cpp:1126:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1126 | stan::math::add(
1127 | stan::math::subtract(psi_j,
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
SimulationFunctions.cpp:1125:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1125 | stan::math::subtract(
1126 | stan::math::add(
1127 | stan::math::subtract(psi_j,
1128 | stan::math::log(
1129 | stan::math::add(stan::math::elt_multiply(phi_j, quant_j),
1130 | gamma_j))), stan::math::log(phi_j)),
1131 | stan::math::log(price_j)), "assigning variable vk");
SimulationFunctions.cpp:2739:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2739 | DrawError_rng(quant_num, quant_j,
2740 | stan::model::rvalue(price, "price",
2741 | stan::model::index_min_max(2, (nalts + 1))), psi_j,
2742 | stan::model::rvalue(phi, "phi",
2743 | stan::model::index_min_max(2, (nalts + 1))),
2744 | stan::model::rvalue(gamma, "gamma",
2745 | stan::model::index_min_max(2, (nalts + 1))), alpha, scale,
2746 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
2747 | pstream__), "assigning variable error");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from 'auto stan::math::transpose(const T&) [with T = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
18 | return m.transpose();
| ~~~~~~~~~~~^~
SimulationFunctions.cpp:1812:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1812 | stan::math::multiply(stan::math::transpose(price_j), quant_j))));
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1831:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1831 | stan::math::elt_multiply(
1832 | stan::model::rvalue(psi, "psi",
1833 | stan::model::index_min_max(2, (nalts + 1))), gamma_j),
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:1835:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1835:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:18: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~^~
SimulationFunctions.cpp:1835:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1836 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:21: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1835:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1836 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:32: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1835:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1836 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1834:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1834 | stan::math::log(
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1836 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1834:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1834 | stan::math::log(
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1836 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1834:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1834 | stan::math::log(
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1836 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1830:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1830 | stan::math::elt_multiply(
1831 | stan::math::elt_multiply(
1832 | stan::model::rvalue(psi, "psi",
1833 | stan::model::index_min_max(2, (nalts + 1))), gamma_j),
1834 | stan::math::log(
1835 | stan::math::add(stan::math::elt_divide(quant_j, gamma_j),
1836 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1848:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:19: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
SimulationFunctions.cpp:1847:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
SimulationFunctions.cpp:1847:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Mat2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1847:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:18: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~^~
SimulationFunctions.cpp:1846:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:21: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1846:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:32: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
SimulationFunctions.cpp:1846:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1845:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1845 | stan::math::log(
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)> [with auto:218 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1845:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1845 | stan::math::log(
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)> [with auto:33 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>&&)::<lambda(auto:33&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1, 0, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >&&)::<lambda(auto:218&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<Expr>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:1845:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1845 | stan::math::log(
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::ArrayWrapper<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
SimulationFunctions.cpp:1842:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1842 | stan::math::elt_multiply(
1843 | stan::model::rvalue(psi, "psi",
1844 | stan::model::index_min_max(2, (nalts + 1))),
1845 | stan::math::log(
1846 | stan::math::add(
1847 | stan::math::elt_divide(
1848 | stan::math::elt_multiply(phi_j, quant_j), gamma_j),
1849 | static_cast<double>(1)))), "assigning variable util_j");
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp: In instantiation of 'static void stan::math::internal::bounded<T_y, T_low, T_high, y_is_vec>::check(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = double; T_low = double; T_high = double; bool y_is_vec = false]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:75: required from 'void stan::math::check_bounded(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = double; T_low = double; T_high = double]'
80 | internal::bounded<T_y, T_low, T_high, is_vector_like<T_y>::value>::check(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
81 | function, name, y, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/atanh.hpp:32:18: required from 'double stan::math::atanh(T&&) [with T = const double&; stan::require_arithmetic_t<T>* <anonymous> = 0]'
32 | check_bounded("atanh", "x", x, -1.0, 1.0);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/atanh.hpp:59:33: required from here
59 | return make_callback_var(atanh(x.val()), [x](const auto& vi) mutable {
| ~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:30:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
30 | for (size_t n = 0; n < max_size(low, high); n++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 2>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 2, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 2, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 2, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:182:31: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
182 | Eigen::Matrix<double, 2, 1> a_args(2);
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 2, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 2, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 2, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 2, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:182:31: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
182 | Eigen::Matrix<double, 2, 1> a_args(2);
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 1>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 1, 1, 0, 1, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 1, 1, 0, 1, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:183:31: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
183 | Eigen::Matrix<double, 1, 1> b_args(1);
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 1, 1, 0, 1, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:183:31: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
183 | Eigen::Matrix<double, 1, 1> b_args(1);
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:118:39: required from 'TupleT stan::math::internal::grad_2F1_impl_ab(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double>]'
118 | inner_diff = g_current.array().abs().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:206:78: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
206 | grad_tuple_ab = grad_2F1_impl_ab<calc_a1_euler, calc_a2_euler, calc_b1>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
207 | a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:5,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:5,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err.hpp:4:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_finite<Eigen::Matrix<double, -1, 1> >(const char*, const char*, const Eigen::Matrix<double, -1, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, -1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_finite.hpp:29:20: required from 'void stan::math::check_finite(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, -1, 1>]'
29 | elementwise_check([](double x) { return std::isfinite(x); }, function, name,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | y, "finite");
| ~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:32:15: required from 'stan::return_type_t<T, L, U> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, -1, 1>&; Tb = Eigen::Matrix<double, -1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
32 | check_finite("hypergeometric_pFq", "a", a_ref);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:130:28: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
130 | return hypergeometric_pFq(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, -1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan<Eigen::Matrix<double, -1, 1> >(const char*, const char*, const Eigen::Matrix<double, -1, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, -1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from 'void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, -1, 1>]'
28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | "not nan");
| ~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:35:16: required from 'stan::return_type_t<T, L, U> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, -1, 1>&; Tb = Eigen::Matrix<double, -1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
35 | check_not_nan("hypergeometric_pFq", "a", a_ref);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:130:28: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
130 | return hypergeometric_pFq(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, -1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; U = Eigen::Matrix<double, -1, 1>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Matrix<double, -1, 1>; Derived = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Vec2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_vector_t<Vec1, Vec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:152:21: required from 'auto stan::math::multiply(const RowVec&, const ColVec&) [with RowVec = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; ColVec = Eigen::Matrix<double, -1, 1>; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0; stan::require_eigen_row_and_col_t<RowVec, ColVec>* <anonymous> = 0]'
152 | return dot_product(rv, v);
| ~~~~~~~~~~~^~~~~~~
SimulationFunctions.cpp:1812:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1812 | stan::math::multiply(stan::math::transpose(price_j), quant_j))));
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; U = Eigen::Matrix<double, -1, 1>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Matrix<double, -1, 1>; Derived = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Vec2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_vector_t<Vec1, Vec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:152:21: required from 'auto stan::math::multiply(const RowVec&, const ColVec&) [with RowVec = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; ColVec = Eigen::Matrix<double, -1, 1>; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0; stan::require_eigen_row_and_col_t<RowVec, ColVec>* <anonymous> = 0]'
152 | return dot_product(rv, v);
| ~~~~~~~~~~~^~~~~~~
SimulationFunctions.cpp:1812:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1812 | stan::math::multiply(stan::math::transpose(price_j), quant_j))));
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; U = Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>; Derived = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Vec2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_vector_t<Vec1, Vec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:152:21: required from 'auto stan::math::multiply(const RowVec&, const ColVec&) [with RowVec = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; ColVec = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0; stan::require_eigen_row_and_col_t<RowVec, ColVec>* <anonymous> = 0]'
152 | return dot_product(rv, v);
| ~~~~~~~~~~~^~~~~~~
SimulationFunctions.cpp:2646:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2646 | stan::math::multiply(stan::math::transpose(quant_j),
2647 | stan::model::rvalue(price, "price",
2648 | stan::model::index_min_max(2, (nalts + 1)))));
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CommaInitializer.h:159:10: required from 'Eigen::CommaInitializer<Derived> Eigen::DenseBase<Derived>::operator<<(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
159 | return CommaInitializer<Derived>(*static_cast<Derived *>(this), other);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:102:10: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const ColVec&, const Scal&) [with ColVec = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Scal = double; stan::require_t<stan::is_eigen_col_vector<T> >* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
102 | result << A.template cast<T_return>(), B;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:28:19: required from 'stan::return_type_t<T, L, U> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
28 | = append_row(as_array_or_scalar(b), 1.0);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::Matrix<double, -1, 1>; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::Matrix<double, -1, 1>; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::Matrix<double, -1, 1> >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:478:32: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::mean() const [with Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
478 | return Scalar(derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>())) / Scalar(this->size());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:26:53: required from here
26 | vector_d diff = dtrs_vals.array() - dtrs_vals.mean();
| ~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseUnaryOp<scalar_exp_op<double>, const Eigen::CwiseBinaryOp<scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:58: required from 'stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)> [with auto:532 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:104:23: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::reduce(T2&&, F&&) [with T2 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; F = stan::math::log_sum_exp<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >&&)::<lambda(auto:532&&)>; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >]'
104 | return make_holder(std::forward<F>(f), std::forward<T2>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:121:20: required from here
121 | = log_sum_exp(log_r_pow + num_map) - log_sum_exp(log_r_pow + den_map);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:330:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'class Eigen::internal::gebp_traits<double, double, false, false, 1, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:72:102: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
72 | typedef blas_data_mapper<typename Traits::ResScalar, Index, ColMajor, Unaligned, ResInnerStride> ResMapper;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
433 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
434 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
435 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
460 | typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
461 | typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
462 | typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
465 | typedef QuadPacket<RhsPacket> RhsPacketx4;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'class Eigen::internal::gebp_traits<double, double, false, false, 1, 1>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1080:42: required from 'struct Eigen::internal::gebp_kernel<double, double, long long int, Eigen::internal::blas_data_mapper<double, long long int, 0, 0, 1>, 4, 4, false, false>'
1080 | typedef typename HalfTraits::LhsPacket LhsPacketHalf;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:92:109: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
92 | gebp_kernel<LhsScalar, RhsScalar, Index, ResMapper, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
433 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
434 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
435 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
460 | typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
461 | typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
462 | typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
465 | typedef QuadPacket<RhsPacket> RhsPacketx4;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'class Eigen::internal::gebp_traits<double, double, false, false, 1, 2>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1085:45: required from 'struct Eigen::internal::gebp_kernel<double, double, long long int, Eigen::internal::blas_data_mapper<double, long long int, 0, 0, 1>, 4, 4, false, false>'
1085 | typedef typename QuarterTraits::LhsPacket LhsPacketQuarter;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:92:109: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
92 | gebp_kernel<LhsScalar, RhsScalar, Index, ResMapper, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
433 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
434 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
435 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
460 | typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
461 | typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
462 | typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
465 | typedef QuadPacket<RhsPacket> RhsPacketx4;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; Derived = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Vec2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_vector_t<Vec1, Vec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:152:21: required from 'auto stan::math::multiply(const RowVec&, const ColVec&) [with RowVec = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; ColVec = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0; stan::require_eigen_row_and_col_t<RowVec, ColVec>* <anonymous> = 0]'
152 | return dot_product(rv, v);
| ~~~~~~~~~~~^~~~~~~
SimulationFunctions.cpp:1812:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1812 | stan::math::multiply(stan::math::transpose(price_j), quant_j))));
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; U = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; Derived = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Vec2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_vector_t<Vec1, Vec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:152:21: required from 'auto stan::math::multiply(const RowVec&, const ColVec&) [with RowVec = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; ColVec = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0; stan::require_eigen_row_and_col_t<RowVec, ColVec>* <anonymous> = 0]'
152 | return dot_product(rv, v);
| ~~~~~~~~~~~^~~~~~~
SimulationFunctions.cpp:1812:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1812 | stan::math::multiply(stan::math::transpose(price_j), quant_j))));
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, member_sum<double, double>, 1>; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true, false>'
172 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess> class BlockImpl_dense
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:203:15: required from 'PacketType Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::packet(Eigen::Index) const [with int LoadMode = 0; PacketType = __vector(2) double; ArgType = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; MemberOp = Eigen::internal::member_sum<double, double>; int Direction = 1; Eigen::Index = long long int]'
203 | PanelType panel(m_arg,
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:251:78: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
251 | PacketScalar packet_res0 = eval.template packet<alignment,PacketScalar>(alignedStart);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from 'class Eigen::internal::redux_evaluator<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true> >'
357 | class redux_evaluator : public internal::evaluator<_XprType>
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:217:20: required from 'PacketType Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::packet(Eigen::Index) const [with int LoadMode = 0; PacketType = __vector(2) double; ArgType = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; MemberOp = Eigen::internal::member_sum<double, double>; int Direction = 1; Eigen::Index = long long int]'
217 | PanelEvaluator panel_eval(panel);
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:251:78: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
251 | PacketScalar packet_res0 = eval.template packet<alignment,PacketScalar>(alignedStart);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false, false>'
172 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess> class BlockImpl_dense
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:72: required from 'const Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::Scalar Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::coeff(Eigen::Index) const [with ArgType = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; MemberOp = Eigen::internal::member_sum<double, double>; int Direction = 1; Scalar = double; Eigen::Index = long long int]'
183 | return m_functor(m_arg.template subVector<DirectionType(Direction)>(index));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:268:34: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
268 | res = func(res,eval.coeff(index));
| ~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:49:27: required from 'stan::return_type_t<T, L, U> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
49 | << to_row_vector(a_ref) << ", "
| ~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:50:36: required from 'stan::return_type_t<T, L, U> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
50 | << "b: " << to_row_vector(b_ref) << ", "
| ~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseUnaryOp<scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:98:46: required from 'typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::MatrixBase<Derived>::squaredNorm() const [with Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
98 | return numext::real((*this).cwiseAbs2().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:29:37: required from here
29 | double variance = diff.squaredNorm() / size_m1;
| ~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'void Eigen::internal::gemm_pack_rhs<Scalar, Index, DataMapper, nr, 0, Conjugate, PanelMode>::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long long int; DataMapper = Eigen::internal::const_blas_data_mapper<double, long long int, 0>; int nr = 4; bool Conjugate = false; bool PanelMode = false]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:100:15: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
100 | pack_rhs(blockB, rhs.getSubMapper(k2,0), actual_kc, size);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2459:62: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2459 | PacketBlock<Packet,(PacketSize%4)==0?4:PacketSize> kernel;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'void Eigen::internal::gemm_pack_lhs<Scalar, Index, DataMapper, Pack1, Pack2, Packet, 1, Conjugate, PanelMode>::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long long int; DataMapper = Eigen::internal::const_blas_data_mapper<double, long long int, 1>; int Pack1 = 4; int Pack2 = 2; Packet = __vector(2) double; bool Conjugate = false; bool PanelMode = false]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:106:17: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
106 | pack_lhs(blockA, lhs.getSubMapper(i2, k2), actual_kc, actual_mc);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2256:82: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2256 | typedef typename unpacket_traits<typename unpacket_traits<Packet>::half>::half QuarterPacket;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2258:56: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2258 | HalfPacketSize = unpacket_traits<HalfPacket>::size,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2259:62: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2259 | QuarterPacketSize = unpacket_traits<QuarterPacket>::size,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2259:62: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2298:39: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2298 | PacketBlock<HalfPacket> kernel_half;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2298:39: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2304 | PacketBlock<QuarterPacket> kernel_quarter;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'void Eigen::internal::gebp_kernel<LhsScalar, RhsScalar, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>::operator()(const DataMapper&, const LhsScalar*, const RhsScalar*, Index, Index, Index, ResScalar, Index, Index, Index, Index) [with LhsScalar = double; RhsScalar = double; Index = long long int; DataMapper = Eigen::internal::blas_data_mapper<double, long long int, 0, 0, 1>; int mr = 4; int nr = 4; bool ConjugateLhs = false; bool ConjugateRhs = false; ResScalar = double]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:113:15: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
113 | gebp(res.getSubMapper(i2, 0), blockA, blockB, actual_mc, actual_kc,
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | (std::min)(size,i2), alpha, -1, -1, 0, 0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1920:103: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1920 | const int SResPacketHalfSize = unpacket_traits<typename unpacket_traits<SResPacket>::half>::size;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1921:138: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1921 | const int SResPacketQuarterSize = unpacket_traits<typename unpacket_traits<typename unpacket_traits<SResPacket>::half>::half>::size;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1921:138: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1977:135: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1977 | typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SResPacket>::half,SResPacket>::type SResPacketHalf;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1978:135: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1978 | typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SLhsPacket>::half,SLhsPacket>::type SLhsPacketHalf;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1979:135: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1979 | typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SRhsPacket>::half,SRhsPacket>::type SRhsPacketHalf;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1980:135: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1980 | typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SAccPacket>::half,SAccPacket>::type SAccPacketHalf;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 16>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 4, 4> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 4> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 4, 4>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:155:52: required from 'void Eigen::internal::tribb_kernel<LhsScalar, RhsScalar, Index, mr, nr, ConjLhs, ConjRhs, ResInnerStride, UpLo>::operator()(ResScalar*, Index, Index, const LhsScalar*, const RhsScalar*, Index, Index, const ResScalar&) [with LhsScalar = double; RhsScalar = double; Index = long long int; int mr = 4; int nr = 4; bool ConjLhs = false; bool ConjRhs = false; int ResInnerStride = 1; int UpLo = 2; ResScalar = double]'
155 | Matrix<ResScalar,BlockSize,BlockSize,ColMajor> buffer((internal::constructor_without_unaligned_array_assert()));
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:116:13: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
116 | sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 4>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 4>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 4>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 4> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 4> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 4> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:116:13: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
116 | sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_finite<Eigen::Matrix<double, 2, 1> >(const char*, const char*, const Eigen::Matrix<double, 2, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, 2, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_finite.hpp:29:20: required from 'void stan::math::check_finite(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, 2, 1>]'
29 | elementwise_check([](double x) { return std::isfinite(x); }, function, name,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | y, "finite");
| ~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:32:15: required from 'stan::return_type_t<T, L, U> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
32 | check_finite("hypergeometric_pFq", "a", a_ref);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, 2, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_finite<Eigen::Matrix<double, 1, 1, 0, 1, 1> >(const char*, const char*, const Eigen::Matrix<double, 1, 1, 0, 1, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, 1, 1, 0, 1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_finite.hpp:29:20: required from 'void stan::math::check_finite(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, 1, 1, 0, 1, 1>]'
29 | elementwise_check([](double x) { return std::isfinite(x); }, function, name,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | y, "finite");
| ~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:33:15: required from 'stan::return_type_t<T, L, U> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
33 | check_finite("hypergeometric_pFq", "b", b_ref);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan<Eigen::Matrix<double, 2, 1> >(const char*, const char*, const Eigen::Matrix<double, 2, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, 2, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from 'void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, 2, 1>]'
28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | "not nan");
| ~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:35:16: required from 'stan::return_type_t<T, L, U> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
35 | check_not_nan("hypergeometric_pFq", "a", a_ref);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, 2, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan<Eigen::Matrix<double, 1, 1, 0, 1, 1> >(const char*, const char*, const Eigen::Matrix<double, 1, 1, 0, 1, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, 1, 1, 0, 1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from 'void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, 1, 1, 0, 1, 1>]'
28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | "not nan");
| ~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:36:16: required from 'stan::return_type_t<T, L, U> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
36 | check_not_nan("hypergeometric_pFq", "b", b_ref);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:22: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 | digamma(avi_->val_), digamma(bvi_->val_),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/sum.hpp:47:15: required from 'stan::value_type_t<T> stan::math::sum(const T&) [with T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > > > > > > > >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; stan::value_type_t<T> = double]'
47 | return m.sum();
| ~~~~~^~
SimulationFunctions.cpp:1957:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = int; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, std::is_integral<typename std::decay<T9__>::type> >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::base_type<T5__, void>::type, typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::return_type<typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1957 | stan::math::sum(
1958 | stan::math::elt_multiply(
1959 | stan::math::elt_multiply(
1960 | stan::model::rvalue(psi, "psi",
1961 | stan::model::index_min_max(2, M)),
1962 | stan::model::rvalue(g, "g", stan::model::index_min_max(2, M))),
1963 | stan::math::log(
1964 | stan::math::elt_divide(
1965 | stan::model::rvalue(psi, "psi",
1966 | stan::model::index_min_max(2, M)),
1967 | stan::math::multiply(lambda1,
1968 | stan::model::rvalue(price, "price",
1969 | stan::model::index_min_max(2, M))))))));
SimulationFunctions.cpp:3480:0: required from here
3480 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilM(M,
3481 | lambda1, g_psi_a, a_a_1, mu_a_a_1, psi, g, price, d, model_num,
3482 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/sum.hpp:47:15: required from 'stan::value_type_t<T> stan::math::sum(const T&) [with T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > > >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; stan::value_type_t<T> = double]'
47 | return m.sum();
| ~~~~~^~
SimulationFunctions.cpp:2033:0: required from 'stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = int; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = double; stan::require_all_t<std::is_integral<typename std::decay<_Tp>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::math::disjunction<stan::is_autodiff_scalar<T4__>, std::is_floating_point<typename std::decay<T4>::type> > >* <anonymous> = 0; stan::return_type_t<T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, T4__> = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2033 | stan::math::sum(
2034 | stan::math::elt_multiply(
2035 | stan::model::rvalue(psi, "psi",
2036 | stan::model::index_min_max(2, M)),
2037 | stan::math::log(
2038 | stan::math::divide(
2039 | stan::model::rvalue(mu, "mu",
2040 | stan::model::index_min_max(2, M)), lambda1))))));
SimulationFunctions.cpp:3490:0: required from here
3490 | return model131e81eff76c5_User_defined_functions_namespace::ComputeKtUtilM(
3491 | M, lambda1, psi, mu, alpha_1, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from 'Derived& Eigen::DenseBase<Derived>::setConstant(const Scalar&) [with Derived = Eigen::Matrix<double, 4, 4>; Scalar = double]'
347 | return derived() = Constant(rows(), cols(), val);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:116:13: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
116 | sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; U = Eigen::Matrix<double, -1, 1>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Matrix<double, -1, 1>; Derived = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Vec2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_vector_t<Vec1, Vec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:152:21: required from 'auto stan::math::multiply(const RowVec&, const ColVec&) [with RowVec = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; ColVec = Eigen::Matrix<double, -1, 1>; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0; stan::require_eigen_row_and_col_t<RowVec, ColVec>* <anonymous> = 0]'
152 | return dot_product(rv, v);
| ~~~~~~~~~~~^~~~~~~
SimulationFunctions.cpp:1812:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1812 | stan::math::multiply(stan::math::transpose(price_j), quant_j))));
SimulationFunctions.cpp:3465:0: required from here
3465 | return model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(
3466 | income, quant_j, price_j, psi, phi_j, gamma_j, alpha, nalts,
3467 | model_num, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; U = Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>; Derived = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Vec2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_vector_t<Vec1, Vec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:152:21: required from 'auto stan::math::multiply(const RowVec&, const ColVec&) [with RowVec = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; ColVec = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0; stan::require_eigen_row_and_col_t<RowVec, ColVec>* <anonymous> = 0]'
152 | return dot_product(rv, v);
| ~~~~~~~~~~~^~~~~~~
SimulationFunctions.cpp:2646:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2646 | stan::math::multiply(stan::math::transpose(quant_j),
2647 | stan::model::rvalue(price, "price",
2648 | stan::model::index_min_max(2, (nalts + 1)))));
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from 'class Eigen::internal::redux_evaluator<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false> >'
357 | class redux_evaluator : public internal::evaluator<_XprType>
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>; typename Eigen::internal::traits<T>::Scalar = double]'
414 | ThisEvaluator thisEval(derived());
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:114:1: required from 'ResultType Eigen::internal::member_sum<ResultType, Scalar>::operator()(const XprType&) const [with XprType = Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>; ResultType = double; Scalar = double]'
97 | { return mat.MEMBER(); } \
| ~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:21: required from 'const Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::Scalar Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::coeff(Eigen::Index) const [with ArgType = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; MemberOp = Eigen::internal::member_sum<double, double>; int Direction = 1; Scalar = double; Eigen::Index = long long int]'
183 | return m_functor(m_arg.template subVector<DirectionType(Direction)>(index));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:268:34: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
268 | res = func(res,eval.coeff(index));
| ~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from 'struct Eigen::internal::plain_object_eval<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, Eigen::Dense>'
372 | typedef typename plain_matrix_type_dense<T,typename traits<T>::XprKind, evaluator<T>::Flags>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:370:45: required from 'struct Eigen::internal::generic_product_impl<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, Eigen::DenseShape, Eigen::DenseShape, 7>'
370 | typedef typename nested_eval<Rhs,1>::type RhsNested;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; Scalar = double]'
478 | return internal::generic_product_impl<Lhs,typename Rhs::ConstColXpr,DenseShape,DenseShape,GemvProduct>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >]'
445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from 'struct Eigen::internal::plain_object_eval<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Dense>'
372 | typedef typename plain_matrix_type_dense<T,typename traits<T>::XprKind, evaluator<T>::Flags>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:369:45: required from 'struct Eigen::internal::generic_product_impl<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::DenseShape, Eigen::DenseShape, 7>'
369 | typedef typename nested_eval<Lhs,1>::type LhsNested;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:486:24: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; Scalar = double]'
485 | return internal::generic_product_impl<typename Lhs::ConstRowXpr,Rhs,DenseShape,DenseShape,GemvProduct>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
486 | ::scaleAndAddTo(dst_vec, a_lhs.row(0), a_rhs, alpha);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >]'
445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; U = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; Derived = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; Vec2 = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_vector_t<Vec1, Vec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:152:21: required from 'auto stan::math::multiply(const RowVec&, const ColVec&) [with RowVec = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; ColVec = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0; stan::require_eigen_row_and_col_t<RowVec, ColVec>* <anonymous> = 0]'
152 | return dot_product(rv, v);
| ~~~~~~~~~~~^~~~~~~
SimulationFunctions.cpp:1812:0: required from 'stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> model131e81eff76c5_User_defined_functions_namespace::ComputeUtilJ(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, std::ostream*) [with T0__ = double; T1__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T2__ = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T5__ = Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = int; T8__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type> >* <anonymous> = 0; stan::return_type_t<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type> = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1812 | stan::math::multiply(stan::math::transpose(price_j), quant_j))));
SimulationFunctions.cpp:2819:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2819 | ComputeUtilJ(income,
2820 | stan::model::rvalue(mdemand, "mdemand",
2821 | stan::model::index_min_max(2, (nalts + 1))),
2822 | stan::model::rvalue(price, "price",
2823 | stan::model::index_min_max(2, (nalts + 1))), psi_b_err,
2824 | stan::model::rvalue(phi, "phi",
2825 | stan::model::index_min_max(2, (nalts + 1))),
2826 | stan::model::rvalue(gamma, "gamma",
2827 | stan::model::index_min_max(2, (nalts + 1))), alpha, nalts,
2828 | model_num, pstream__), "assigning variable util",
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:883:25: required from 'void Eigen::PlainObjectBase<Derived>::_init1(const Eigen::DenseBase<ElseDerived>&) [with T = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; OtherDerived = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
883 | this->_set_noalias(other);
| ~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:332:31: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
332 | Base::template _init1<T>(x);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:850:41: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<evaluator_assume_aliasing<Src>::value, void*>::type) [with Dst = Eigen::Matrix<double, -1, -1>; Src = Eigen::Product<Eigen::CwiseBinaryOp<scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; Func = add_assign_op<double, double>; typename enable_if<evaluator_assume_aliasing<Src>::value, void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
850 | typename plain_matrix_type<Src>::type tmp(src);
| ^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from 'Derived& Eigen::MatrixBase<Derived>::operator+=(const Eigen::MatrixBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
177 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:39: required from here
28 | m2_ += (q - m_) * delta.transpose();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 16, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:280:48: required from 'void Eigen::internal::outer_product_selector_run(Dst&, const Lhs&, const Rhs&, const Func&, const false_type&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::CwiseBinaryOp<scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; Rhs = Eigen::Transpose<Eigen::Matrix<double, -1, 1> >; Func = generic_product_impl<Eigen::CwiseBinaryOp<scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, Eigen::DenseShape, Eigen::DenseShape, 5>::set]'
280 | func(dst.col(j), rhsEval.coeff(Index(0),j) * actual_lhs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:317:41: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:883:25: required from 'void Eigen::PlainObjectBase<Derived>::_init1(const Eigen::DenseBase<ElseDerived>&) [with T = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; OtherDerived = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
883 | this->_set_noalias(other);
| ~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:332:31: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
332 | Base::template _init1<T>(x);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:850:41: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<evaluator_assume_aliasing<Src>::value, void*>::type) [with Dst = Eigen::Matrix<double, -1, -1>; Src = Eigen::Product<Eigen::CwiseBinaryOp<scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; Func = add_assign_op<double, double>; typename enable_if<evaluator_assume_aliasing<Src>::value, void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
850 | typename plain_matrix_type<Src>::type tmp(src);
| ^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:177:18: required from 'Derived& Eigen::MatrixBase<Derived>::operator+=(const Eigen::MatrixBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
177 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:39: required from here
28 | m2_ += (q - m_) * delta.transpose();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 1, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 1, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 1>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:462:68: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from 'struct Eigen::internal::unary_evaluator<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >, Eigen::internal::IndexBased, double>'
311 | CoeffReadCost = evaluator<ArgType>::CoeffReadCost,
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from 'struct Eigen::internal::evaluator<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
90 | struct evaluator : public unary_evaluator<T>
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; SrcXprType = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >; Functor = assign_op<double, double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; SrcXprType = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >; Functor = Eigen::internal::assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; Src = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Assign.h:66:28: required from 'Derived& Eigen::MatrixBase<Derived>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >; Derived = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>]'
66 | internal::call_assignment(derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CommaInitializer.h:99:64: required from 'Eigen::CommaInitializer<MatrixType>& Eigen::CommaInitializer<MatrixType>::operator,(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >; XprType = Eigen::Matrix<double, -1, 1>]'
98 | m_xpr.template block<OtherDerived::RowsAtCompileTime, OtherDerived::ColsAtCompileTime>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | (m_row, m_col, other.rows(), other.cols()) = other;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:75:14: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const Scal&, const ColVec&) [with Scal = double; ColVec = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_t<stan::is_eigen_col_vector<Col> >* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
75 | result << A, B.template cast<T_return>();
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimulationFunctions.cpp:2680:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2680 | stan::math::append_row(static_cast<double>(1),
2681 | stan::math::transpose(
2682 | stan::model::rvalue(gamma_sims, "gamma_sims",
2683 | stan::model::index_uni(sim)))), "assigning variable gamma");
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>; SrcXprType = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Functor = assign_op<double, double>]'
780 | DstEvaluatorType dstEvaluator(dst);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>; SrcXprType = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Functor = Eigen::internal::assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>; Src = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Func = assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>; Src = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Func = assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>; Src = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Assign.h:66:28: required from 'Derived& Eigen::MatrixBase<Derived>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>]'
66 | internal::call_assignment(derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:0: required from 'void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>; T2 = const Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >&; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0]'
92 | x = std::forward<T2>(y);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/assign.hpp:254:0: required from 'void stan::model::assign(Mat&&, const RowVec&, const char*, index_uni) [with Mat = Eigen::Matrix<double, -1, -1>&; RowVec = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; stan::require_dense_dynamic_t<T_y>* <anonymous> = 0; stan::require_row_vector_t<RowVec>* <anonymous> = 0]'
254 | internal::assign_impl(x.row(idx.n_ - 1), y, name);
SimulationFunctions.cpp:2919:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type, -1, -1> model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, const T16__&, const T17__&, const T18__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = std::vector<Eigen::Matrix<double, -1, 1> >; T4__ = std::vector<Eigen::Matrix<double, -1, -1> >; T5__ = std::vector<Eigen::Matrix<double, -1, -1> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, -1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = Eigen::Matrix<double, -1, 1>; T11__ = int; T12__ = int; T13__ = int; T14__ = int; T15__ = int; T16__ = int; T17__ = double; T18__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_std_vector<T3, void>, stan::is_col_vector<typename stan::value_type<T3, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T3, void>::type>, stan::is_std_vector<T4, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T4__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T4__, void>::type>, stan::is_std_vector<T5, void>, stan::is_eigen_matrix_dynamic<typename stan::value_type<T5__, void>::type>, stan::is_vt_not_complex<typename stan::value_type<T5__, void>::type>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_eigen_matrix_dynamic<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::is_col_vector<T10__>, stan::is_vt_not_complex<T10__>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type>, std::is_integral<typename std::decay<T16__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T17__>, std::is_floating_point<typename std::decay<T17__>::type> >, std::is_integral<typename std::decay<T18__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<typename stan::base_type<T10__, void>::type, T17__>::type = double; typename stan::base_type<T10__, void>::type = double; std::ostream = std::basic_ostream<char>]'
2919 | stan::model::assign(wtp, stan::math::transpose(wtp_policy),
2920 | "assigning variable wtp", stan::model::index_uni(sim));
SimulationFunctions.cpp:3522:0: required from here
3522 | return model131e81eff76c5_User_defined_functions_namespace::CalcWTP_rng(
3523 | income, quant_j, price, price_p_policy, psi_p_sims, phi_p_sims,
3524 | psi_sims, phi_sims, gamma_sims, alpha_sims, scale_sims, nerrs,
3525 | cond_error, draw_mlhs, algo_gen, model_num, price_change_only,
3526 | tol, max_loop, base_rng__, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>; SrcXprType = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Functor = assign_op<double, double>]'
780 | DstEvaluatorType dstEvaluator(dst);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>; SrcXprType = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Functor = Eigen::internal::assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>; Src = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Func = assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>; Src = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Func = assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>; Src = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Assign.h:66:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CommaInitializer.h:159:10: required from 'Eigen::CommaInitializer<Derived> Eigen::DenseBase<Derived>::operator<<(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
159 | return CommaInitializer<Derived>(*static_cast<Derived *>(this), other);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:102:10: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const ColVec&, const Scal&) [with ColVec = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Scal = double; stan::require_t<stan::is_eigen_col_vector<T> >* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
102 | result << A.template cast<T_return>(), B;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:28:19: required from 'stan::return_type_t<T, L, U> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
28 | = append_row(as_array_or_scalar(b), 1.0);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<T, L, U>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:37: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:333:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h: In instantiation of 'class Eigen::internal::gemv_traits<double, double, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:306:38: required from 'struct Eigen::internal::general_matrix_vector_product<long long int, double, Eigen::internal::const_blas_data_mapper<double, long long int, 1>, 1, false, double, Eigen::internal::const_blas_data_mapper<double, long long int, 0>, false, 0>'
306 | typedef typename Traits::LhsPacket LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:347:132: required from 'static void Eigen::internal::gemv_dense_selector<2, 1, true>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>; Dest = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; typename Dest::Scalar = double]'
346 | general_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | <Index,LhsScalar,LhsMapper,RowMajor,LhsBlasTraits::NeedToConjugate,RhsScalar,RhsMapper,RhsBlasTraits::NeedToConjugate>::run(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
348 | actualLhs.rows(), actualLhs.cols(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | LhsMapper(actualLhs.data(), actualLhs.outerStride()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 | RhsMapper(actualRhsPtr, 1),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | dest.data(), dest.col(0).innerStride(), //NOTE if dest is not a vector at compile-time, then dest.innerStride() might be wrong. (bug 1166)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
352 | actualAlpha);
| ~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 7>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>; Scalar = double]'
385 | internal::gemv_dense_selector<Side,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
386 | (int(MatrixType::Flags)&RowMajorBit) ? RowMajor : ColMajor,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
387 | bool(internal::blas_traits<MatrixType>::HasUsableDirectAccess)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
388 | >::run(actual_lhs, actual_rhs, dst, alpha);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; Scalar = double]'
478 | return internal::generic_product_impl<Lhs,typename Rhs::ConstColXpr,DenseShape,DenseShape,GemvProduct>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >]'
445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
51 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable &&
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
52 | unpacket_traits<_RhsPacket>::vectorizable &&
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size),
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size),
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
54 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
55 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
56 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
59 | typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
60 | typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
61 | typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h: In instantiation of 'class Eigen::internal::gemv_traits<double, double, 1>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:310:42: required from 'struct Eigen::internal::general_matrix_vector_product<long long int, double, Eigen::internal::const_blas_data_mapper<double, long long int, 1>, 1, false, double, Eigen::internal::const_blas_data_mapper<double, long long int, 0>, false, 0>'
310 | typedef typename HalfTraits::LhsPacket LhsPacketHalf;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:347:132: required from 'static void Eigen::internal::gemv_dense_selector<2, 1, true>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>; Dest = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; typename Dest::Scalar = double]'
346 | general_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | <Index,LhsScalar,LhsMapper,RowMajor,LhsBlasTraits::NeedToConjugate,RhsScalar,RhsMapper,RhsBlasTraits::NeedToConjugate>::run(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
348 | actualLhs.rows(), actualLhs.cols(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | LhsMapper(actualLhs.data(), actualLhs.outerStride()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 | RhsMapper(actualRhsPtr, 1),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | dest.data(), dest.col(0).innerStride(), //NOTE if dest is not a vector at compile-time, then dest.innerStride() might be wrong. (bug 1166)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
352 | actualAlpha);
| ~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 7>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>; Scalar = double]'
385 | internal::gemv_dense_selector<Side,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
386 | (int(MatrixType::Flags)&RowMajorBit) ? RowMajor : ColMajor,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
387 | bool(internal::blas_traits<MatrixType>::HasUsableDirectAccess)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
388 | >::run(actual_lhs, actual_rhs, dst, alpha);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; Scalar = double]'
478 | return internal::generic_product_impl<Lhs,typename Rhs::ConstColXpr,DenseShape,DenseShape,GemvProduct>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >]'
445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
51 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable &&
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
52 | unpacket_traits<_RhsPacket>::vectorizable &&
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size),
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size),
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
54 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
55 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
56 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
59 | typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
60 | typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
61 | typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h: In instantiation of 'class Eigen::internal::gemv_traits<double, double, 2>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:314:45: required from 'struct Eigen::internal::general_matrix_vector_product<long long int, double, Eigen::internal::const_blas_data_mapper<double, long long int, 1>, 1, false, double, Eigen::internal::const_blas_data_mapper<double, long long int, 0>, false, 0>'
314 | typedef typename QuarterTraits::LhsPacket LhsPacketQuarter;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:347:132: required from 'static void Eigen::internal::gemv_dense_selector<2, 1, true>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>; Dest = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; typename Dest::Scalar = double]'
346 | general_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | <Index,LhsScalar,LhsMapper,RowMajor,LhsBlasTraits::NeedToConjugate,RhsScalar,RhsMapper,RhsBlasTraits::NeedToConjugate>::run(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
348 | actualLhs.rows(), actualLhs.cols(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | LhsMapper(actualLhs.data(), actualLhs.outerStride()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 | RhsMapper(actualRhsPtr, 1),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | dest.data(), dest.col(0).innerStride(), //NOTE if dest is not a vector at compile-time, then dest.innerStride() might be wrong. (bug 1166)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
352 | actualAlpha);
| ~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:388:34: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 7>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>; Scalar = double]'
385 | internal::gemv_dense_selector<Side,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
386 | (int(MatrixType::Flags)&RowMajorBit) ? RowMajor : ColMajor,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
387 | bool(internal::blas_traits<MatrixType>::HasUsableDirectAccess)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
388 | >::run(actual_lhs, actual_rhs, dst, alpha);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; Scalar = double]'
478 | return internal::generic_product_impl<Lhs,typename Rhs::ConstColXpr,DenseShape,DenseShape,GemvProduct>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >]'
445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:44:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
44 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:45:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
45 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:46:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
46 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:42:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
42 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
51 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable &&
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:51:53: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
52 | unpacket_traits<_RhsPacket>::vectorizable &&
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:52:38: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size),
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
53 | int(unpacket_traits<_LhsPacket>::size)==int(unpacket_traits<_RhsPacket>::size),
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:53:82: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
54 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:54:69: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
55 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:55:69: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
56 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:56:69: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
59 | typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:59:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
60 | typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:60:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
61 | typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixVector.h:61:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:26: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/GeneralProduct.h:207:43: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; SrcXprType = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >; Functor = assign_op<double, double>]'
780 | DstEvaluatorType dstEvaluator(dst);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; SrcXprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >; Functor = Eigen::internal::assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; Src = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >; Func = assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; Src = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >; Func = assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; Src = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Assign.h:66:28: required from 'Derived& Eigen::MatrixBase<Derived>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >; Derived = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>]'
66 | internal::call_assignment(derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:0: required from 'void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>&; T2 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >&; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0]'
92 | x = std::forward<T2>(y);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/assign.hpp:228:0: required from 'void stan::model::assign(Vec1&&, Vec2&&, const char*, index_omni) [with Vec1 = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; Vec2 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >&; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_all_not_std_vector_t<T1, T2>* <anonymous> = 0]'
228 | internal::assign_impl(x, std::forward<Vec2>(y), name);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/assign.hpp:607:0: required from 'void stan::model::assign(Mat1&&, const Mat2&, const char*, const Idx&, index_uni) [with Mat1 = Eigen::Matrix<double, -1, -1>&; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > > > >; Idx = index_omni; stan::require_dense_dynamic_t<T_y>* <anonymous> = 0]'
607 | assign(x.col(col_idx.n_ - 1), y, name, row_idx);
SimulationFunctions.cpp:1073:0: required from 'std::vector<Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type, -1, 1> > model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, RNG&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = Eigen::Matrix<double, -1, 1>; T7__ = double; T8__ = int; T9__ = int; T10__ = int; T11__ = int; T12__ = int; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_col_vector<T6__>, stan::is_vt_not_complex<T6__>, stan::math::disjunction<stan::is_autodiff_scalar<T7__>, std::is_floating_point<typename std::decay<Op8>::type> >, std::is_integral<typename std::decay<T8__>::type>, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, T7__>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::model::assign(error,
1074 | stan::math::multiply(
1075 | stan::math::minus(
1076 | stan::math::log(
1077 | stan::math::minus(
1078 | stan::math::log(
1079 | DrawMlhs_rng(nerrs, draw_mlhs, base_rng__, pstream__))))),
1080 | scale), "assigning variable error", stan::model::index_omni(),
1081 | stan::model::index_uni(j));
SimulationFunctions.cpp:3420:0: required from here
3420 | return model131e81eff76c5_User_defined_functions_namespace::DrawError_rng(
3421 | quant_num, quant_j, price_j, psi_j, phi_j, gamma_j, alpha, scale,
3422 | model_num, nalts, nerrs, cond_error, draw_mlhs, base_rng__,
3423 | pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Matrix<double, -1, 1>; SrcXprType = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Functor = assign_op<double, double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Matrix<double, -1, 1>; SrcXprType = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Functor = Eigen::internal::assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Func = assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Func = assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:836:18: required from 'void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>]'
836 | call_assignment(dst, src, internal::assign_op<typename Dst::Scalar,typename Src::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:779:32: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Derived = Eigen::Matrix<double, -1, 1>]'
779 | internal::call_assignment(this->derived(), other.derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:225:24: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
225 | return Base::_set(other);
| ~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/access_helpers.hpp:92:0: required from 'void stan::model::internal::assign_impl(T1&&, T2&&, const char*) [with T1 = Eigen::Matrix<double, -1, 1>&; T2 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0]'
92 | x = std::forward<T2>(y);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/assign.hpp:65:0: required from 'void stan::model::assign(T&&, U&&, const char*) [with T = Eigen::Matrix<double, -1, 1>&; U = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; stan::require_t<std::is_assignable<typename std::decay<_Tp>::type&, typename std::decay<_Tp2>::type> >* <anonymous> = 0; stan::require_all_not_std_vector_t<T1, T2>* <anonymous> = 0; stan::math::require_all_not_tuple_t<T, U>* <anonymous> = 0]'
65 | internal::assign_impl(x, std::forward<U>(y), name);
SimulationFunctions.cpp:1479:0: required from 'Eigen::Matrix<typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type, -1, 1> model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, std::ostream*) [with T0__ = double; T1__ = Eigen::Matrix<double, -1, 1>; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Matrix<double, -1, 1>; T4__ = Eigen::Matrix<double, -1, 1>; T5__ = Eigen::Matrix<double, -1, 1>; T6__ = int; T7__ = int; T8__ = int; T9__ = double; T10__ = int; stan::require_all_t<stan::math::disjunction<stan::is_autodiff_scalar<T0__>, std::is_floating_point<typename std::decay<_Tp>::type> >, stan::is_col_vector<Col>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, std::is_integral<typename std::decay<Op7>::type>, std::is_integral<typename std::decay<Op8>::type>, std::is_integral<typename std::decay<T8__>::type>, stan::math::disjunction<stan::is_autodiff_scalar<T9__>, std::is_floating_point<typename std::decay<T9__>::type> >, std::is_integral<typename std::decay<T10__>::type> >* <anonymous> = 0; typename stan::return_type<T0__, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, T9__>::type = double; typename stan::base_type<T5__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1479 | stan::model::assign(mu, stan::math::col(parm_matrix, 1),
1480 | "assigning variable mu");
SimulationFunctions.cpp:3452:0: required from here
3452 | return model131e81eff76c5_User_defined_functions_namespace::MarshallianDemand(
3453 | income, price, MUzero, phi, gamma, alpha, nalts, algo_gen,
3454 | model_num, tol_e, max_loop, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>; U = Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:23: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:56: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true>; U = Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, -1, 1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, -1, 1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Transpose<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false, false>'
172 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess> class BlockImpl_dense
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:74: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false, false>'
172 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess> class BlockImpl_dense
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:74: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:59: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 1; bool LhsIsTriangular = false; Lhs = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >; Rhs = Eigen::Map<Eigen::Matrix<double, -1, -1> >; typename Dest::Scalar = double]'
462 | dst.leftCols(diagSize) -= (rhs_alpha-RhsScalar(1))*a_lhs.leftCols(diagSize);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from 'struct Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>'
739 | CoeffReadCost = int(evaluator<Lhs>::CoeffReadCost) + int(evaluator<Rhs>::CoeffReadCost) + int(functor_traits<BinaryOp>::Cost),
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from 'struct Eigen::internal::evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> > >'
722 | struct evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from 'class Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> > >'
357 | class redux_evaluator : public internal::evaluator<_XprType>
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits<T>::Scalar = double]'
414 | ThisEvaluator thisEval(derived());
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from 'struct Eigen::internal::unary_evaluator<Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, Eigen::internal::IndexBased, double>'
311 | CoeffReadCost = evaluator<ArgType>::CoeffReadCost,
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from 'struct Eigen::internal::evaluator<Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> > >'
90 | struct evaluator : public unary_evaluator<T>
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> > >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from 'struct Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>'
739 | CoeffReadCost = int(evaluator<Lhs>::CoeffReadCost) + int(evaluator<Rhs>::CoeffReadCost) + int(functor_traits<BinaryOp>::Cost),
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4>, 0>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4>, 0>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Matrix<double, 4, 4>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:303:32: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:52: required from 'const Eigen::internal::product_evaluator<Eigen::Product<Lhs, Rhs, 1>, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator<Eigen::Product<Lhs, Rhs, 1>, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; int ProductTag = 8; typename Eigen::internal::traits<typename Eigen::Product<Lhs, Rhs, 1>::Lhs>::Scalar = double; typename Eigen::Product<Lhs, Rhs, 1>::Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; typename Eigen::internal::traits<typename Eigen::Product<Lhs, Rhs, 1>::Rhs>::Scalar = double; typename Eigen::Product<Lhs, Rhs, 1>::Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; CoeffReturnType = double; Eigen::Index = long long int]'
606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'void Eigen::internal::gemm_pack_rhs<Scalar, Index, DataMapper, nr, 0, Conjugate, PanelMode>::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long long int; DataMapper = Eigen::internal::const_blas_data_mapper<double, long long int, 0>; int nr = 4; bool Conjugate = false; bool PanelMode = true]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:346:25: required from 'static void Eigen::internal::product_triangular_matrix_matrix<Scalar, Index, Mode, false, LhsStorageOrder, ConjugateLhs, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, Version>::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking<Scalar, Scalar>&) [with Scalar = double; Index = long long int; int Mode = 1; int LhsStorageOrder = 1; bool ConjugateLhs = false; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]'
346 | pack_rhs_panel(blockB+j2*actual_kc,
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
347 | rhs.getSubMapper(actual_k2+panelOffset, actual_j2),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348 | panelLength, actualPanelWidth,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | actual_kc, panelOffset);
| ~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 1; bool LhsIsTriangular = false; Lhs = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >; Rhs = Eigen::Map<Eigen::Matrix<double, -1, -1> >; typename Dest::Scalar = double]'
438 | internal::product_triangular_matrix_matrix<Scalar, Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
439 | Mode, LhsIsTriangular,
| ~~~~~~~~~~~~~~~~~~~~~~
440 | (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
441 | (internal::traits<ActualRhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
442 | (internal::traits<Dest >::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
443 | ::run(
| ~~~~~^
444 | stripedRows, stripedCols, stripedDepth, // sizes
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
448 | actualAlpha, blocking
| ~~~~~~~~~~~~~~~~~~~~~
449 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::TriangularShape, ProductTag>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >; Rhs = Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>; int ProductTag = 8; Scalar = double]'
783 | triangular_product_impl<Rhs::Mode,false,Lhs,Lhs::RowsAtCompileTime==1, typename Rhs::MatrixType, false>::run(dst, lhs, rhs.nestedExpression(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:361:27: required from 'static void Eigen::internal::generic_product_impl_base<Lhs, Rhs, Derived>::scaleAndAddTo(Dst&, const Lhs&, const Rhs&, const Scalar&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >; Rhs = Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>; Derived = Eigen::internal::generic_product_impl<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::DenseShape, Eigen::TriangularShape, 8>; Scalar = double]'
361 | { Derived::scaleAndAddTo(dst,lhs,rhs,alpha); }
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:349:33: required from 'static void Eigen::internal::generic_product_impl_base<Lhs, Rhs, Derived>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >; Rhs = Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>; Derived = Eigen::internal::generic_product_impl<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::DenseShape, Eigen::TriangularShape, 8>]'
349 | { dst.setZero(); scaleAndAddTo(dst, lhs, rhs, Scalar(1)); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:124:75: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2459:62: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2459 | PacketBlock<Packet,(PacketSize%4)==0?4:PacketSize> kernel;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>; U = Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Block<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, -1, 1, true>; Derived = Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:50:63: required from 'static Eigen::internal::dot_nocheck<T, U, true>::ResScalar Eigen::internal::dot_nocheck<T, U, true>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true>; U = Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>; ResScalar = double]'
50 | return a.transpose().template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>; Derived = Eigen::Block<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, true>; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:380:62: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:59: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; typename Dest::Scalar = double]'
457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true, false>'
172 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess> class BlockImpl_dense
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:74: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:59: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; typename Dest::Scalar = double]'
462 | dst.leftCols(diagSize) -= (rhs_alpha-RhsScalar(1))*a_lhs.leftCols(diagSize);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from 'Derived& Eigen::DenseBase<Derived>::setConstant(const Scalar&) [with Derived = Eigen::Diagonal<Eigen::Matrix<double, 4, 4>, 0>; Scalar = double]'
347 | return derived() = Constant(rows(), cols(), val);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: required from 'Derived& Eigen::DenseBase<Derived>::setZero() [with Derived = Eigen::Diagonal<Eigen::Matrix<double, 4, 4>, 0>]'
548 | return setConstant(Scalar(0));
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:303:42: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 64>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 8, 8, 0, 8, 8> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 8, 8, 0, 8, 8> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 8, 8, 0, 8, 8>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:150:68: required from 'static void Eigen::internal::product_triangular_matrix_matrix<Scalar, Index, Mode, true, LhsStorageOrder, ConjugateLhs, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, Version>::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking<Scalar, Scalar>&) [with Scalar = double; Index = long long int; int Mode = 1; int LhsStorageOrder = 0; bool ConjugateLhs = false; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]'
150 | Matrix<Scalar,SmallPanelWidth,SmallPanelWidth,LhsStorageOrder> triangularBuffer(a);
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; typename Dest::Scalar = double]'
438 | internal::product_triangular_matrix_matrix<Scalar, Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
439 | Mode, LhsIsTriangular,
| ~~~~~~~~~~~~~~~~~~~~~~
440 | (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
441 | (internal::traits<ActualRhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
442 | (internal::traits<Dest >::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
443 | ::run(
| ~~~~~^
444 | stripedRows, stripedCols, stripedDepth, // sizes
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
448 | actualAlpha, blocking
| ~~~~~~~~~~~~~~~~~~~~~
449 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 8, 8, 0, 8, 8> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 8, 8, 0, 8, 8> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 8, 8, 0, 8, 8> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:153:32: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 8>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:179:81: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0> >'
179 | typedef typename internal::find_best_packet<Scalar,SizeAtCompileTime>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:153:32: required from 'static void Eigen::internal::product_triangular_matrix_matrix<Scalar, Index, Mode, true, LhsStorageOrder, ConjugateLhs, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, Version>::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking<Scalar, Scalar>&) [with Scalar = double; Index = long long int; int Mode = 1; int LhsStorageOrder = 0; bool ConjugateLhs = false; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]'
153 | triangularBuffer.diagonal().setZero();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; typename Dest::Scalar = double]'
438 | internal::product_triangular_matrix_matrix<Scalar, Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
439 | Mode, LhsIsTriangular,
| ~~~~~~~~~~~~~~~~~~~~~~
440 | (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
441 | (internal::traits<ActualRhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
442 | (internal::traits<Dest >::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
443 | ::run(
| ~~~~~^
444 | stripedRows, stripedCols, stripedDepth, // sizes
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
448 | actualAlpha, blocking
| ~~~~~~~~~~~~~~~~~~~~~
449 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'struct Eigen::internal::gemm_pack_rhs<double, long long int, Eigen::internal::const_blas_data_mapper<double, long long int, 1>, 4, 1, false, false>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:159:73: required from 'static void Eigen::internal::product_triangular_matrix_matrix<Scalar, Index, Mode, true, LhsStorageOrder, ConjugateLhs, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, Version>::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking<Scalar, Scalar>&) [with Scalar = double; Index = long long int; int Mode = 1; int LhsStorageOrder = 0; bool ConjugateLhs = false; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]'
159 | gemm_pack_rhs<Scalar, Index, RhsMapper, Traits::nr,RhsStorageOrder> pack_rhs;
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; typename Dest::Scalar = double]'
438 | internal::product_triangular_matrix_matrix<Scalar, Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
439 | Mode, LhsIsTriangular,
| ~~~~~~~~~~~~~~~~~~~~~~
440 | (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
441 | (internal::traits<ActualRhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
442 | (internal::traits<Dest >::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
443 | ::run(
| ~~~~~^
444 | stripedRows, stripedCols, stripedDepth, // sizes
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
448 | actualAlpha, blocking
| ~~~~~~~~~~~~~~~~~~~~~
449 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::TriangularShape, Eigen::DenseShape, ProductTag>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; int ProductTag = 8; Scalar = double]'
769 | triangular_product_impl<Lhs::Mode,true,typename Lhs::MatrixType,false,Rhs, Rhs::ColsAtCompileTime==1>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
770 | ::run(dst, lhs.nestedExpression(), rhs, alpha);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:361:27: required from 'static void Eigen::internal::generic_product_impl_base<Lhs, Rhs, Derived>::scaleAndAddTo(Dst&, const Lhs&, const Rhs&, const Scalar&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; Derived = Eigen::internal::generic_product_impl<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularShape, Eigen::DenseShape, 8>; Scalar = double]'
361 | { Derived::scaleAndAddTo(dst,lhs,rhs,alpha); }
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:349:33: required from 'static void Eigen::internal::generic_product_impl_base<Lhs, Rhs, Derived>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; Derived = Eigen::internal::generic_product_impl<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularShape, Eigen::DenseShape, 8>]'
349 | { dst.setZero(); scaleAndAddTo(dst, lhs, rhs, Scalar(1)); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2504:50: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2504 | typedef typename unpacket_traits<Packet>::half HalfPacket;
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2505:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2505 | typedef typename unpacket_traits<typename unpacket_traits<Packet>::half>::half QuarterPacket;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2505:82: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2508:56: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2508 | HalfPacketSize = unpacket_traits<HalfPacket>::size,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2508:56: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2509 | QuarterPacketSize = unpacket_traits<QuarterPacket>::size};
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:59: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 2; bool LhsIsTriangular = false; Lhs = Eigen::Matrix<double, -1, -1>; Rhs = const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >; typename Dest::Scalar = double]'
457 | dst.topRows(diagSize) -= ((lhs_alpha-LhsScalar(1))*a_rhs).topRows(diagSize);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true, false>'
172 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess> class BlockImpl_dense
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:74: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, -1>, -1, -1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:59: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 2; bool LhsIsTriangular = false; Lhs = Eigen::Matrix<double, -1, -1>; Rhs = const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >; typename Dest::Scalar = double]'
462 | dst.leftCols(diagSize) -= (rhs_alpha-RhsScalar(1))*a_lhs.leftCols(diagSize);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'void Eigen::internal::gemm_pack_lhs<Scalar, Index, DataMapper, Pack1, Pack2, Packet, 0, Conjugate, PanelMode>::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long long int; DataMapper = Eigen::internal::const_blas_data_mapper<double, long long int, 0>; int Pack1 = 4; int Pack2 = 2; Packet = __vector(2) double; bool Conjugate = false; bool PanelMode = false]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:203:19: required from 'static void Eigen::internal::product_triangular_matrix_matrix<Scalar, Index, Mode, true, LhsStorageOrder, ConjugateLhs, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, Version>::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking<Scalar, Scalar>&) [with Scalar = double; Index = long long int; int Mode = 1; int LhsStorageOrder = 0; bool ConjugateLhs = false; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]'
203 | pack_lhs(blockA, LhsMapper(triangularBuffer.data(), triangularBuffer.outerStride()), actualPanelWidth, actualPanelWidth);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 1; bool LhsIsTriangular = true; Lhs = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; typename Dest::Scalar = double]'
438 | internal::product_triangular_matrix_matrix<Scalar, Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
439 | Mode, LhsIsTriangular,
| ~~~~~~~~~~~~~~~~~~~~~~
440 | (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
441 | (internal::traits<ActualRhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
442 | (internal::traits<Dest >::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
443 | ::run(
| ~~~~~^
444 | stripedRows, stripedCols, stripedDepth, // sizes
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
448 | actualAlpha, blocking
| ~~~~~~~~~~~~~~~~~~~~~
449 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:770:14: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::TriangularShape, Eigen::DenseShape, ProductTag>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; int ProductTag = 8; Scalar = double]'
769 | triangular_product_impl<Lhs::Mode,true,typename Lhs::MatrixType,false,Rhs, Rhs::ColsAtCompileTime==1>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
770 | ::run(dst, lhs.nestedExpression(), rhs, alpha);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:361:27: required from 'static void Eigen::internal::generic_product_impl_base<Lhs, Rhs, Derived>::scaleAndAddTo(Dst&, const Lhs&, const Rhs&, const Scalar&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; Derived = Eigen::internal::generic_product_impl<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularShape, Eigen::DenseShape, 8>; Scalar = double]'
361 | { Derived::scaleAndAddTo(dst,lhs,rhs,alpha); }
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:349:33: required from 'static void Eigen::internal::generic_product_impl_base<Lhs, Rhs, Derived>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>; Rhs = Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >; Derived = Eigen::internal::generic_product_impl<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularShape, Eigen::DenseShape, 8>]'
349 | { dst.setZero(); scaleAndAddTo(dst, lhs, rhs, Scalar(1)); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2100:82: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2100 | typedef typename unpacket_traits<typename unpacket_traits<Packet>::half>::half QuarterPacket;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2102:56: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2102 | HalfPacketSize = unpacket_traits<HalfPacket>::size,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2103:62: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2103 | QuarterPacketSize = unpacket_traits<QuarterPacket>::size,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2103:62: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Functor = sub_assign_op<double, double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Functor = Eigen::internal::sub_assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Func = sub_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Func = sub_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from 'Derived& Eigen::MatrixBase<Derived>::operator-=(const Eigen::MatrixBase<OtherDerived>&) [with OtherDerived = Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Derived = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>]'
164 | call_assignment(derived(), other.derived(), internal::sub_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:31: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Functor = sub_assign_op<double, double>]'
780 | DstEvaluatorType dstEvaluator(dst);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Functor = Eigen::internal::sub_assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Func = sub_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Func = sub_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from 'Derived& Eigen::MatrixBase<Derived>::operator-=(const Eigen::MatrixBase<OtherDerived>&) [with OtherDerived = Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false>; Derived = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>]'
164 | call_assignment(derived(), other.derived(), internal::sub_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:31: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from 'struct Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>'
739 | CoeffReadCost = int(evaluator<Lhs>::CoeffReadCost) + int(evaluator<Rhs>::CoeffReadCost) + int(functor_traits<BinaryOp>::Cost),
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from 'struct Eigen::internal::evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> > >'
722 | struct evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >; Functor = sub_assign_op<double, double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >; Functor = Eigen::internal::sub_assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:780:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >; Functor = sub_assign_op<double, double>]'
780 | DstEvaluatorType dstEvaluator(dst);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >; Functor = Eigen::internal::sub_assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; Src = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >; Func = sub_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; Src = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >; Func = sub_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from 'Derived& Eigen::MatrixBase<Derived>::operator-=(const Eigen::MatrixBase<OtherDerived>&) [with OtherDerived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, -1, -1, false> >; Derived = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>]'
164 | call_assignment(derived(), other.derived(), internal::sub_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:462:32: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/TriangularMatrix.h:856:103: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Triangular2Dense>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; SrcXprType = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Functor = Eigen::internal::add_assign_op<double, double>]'
856 | call_triangular_assignment_loop<SrcXprType::Mode, (int(SrcXprType::Mode) & int(SelfAdjoint)) == 0>(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Map<Eigen::Matrix<double, -1, -1> >; Src = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Func = add_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::TriangularShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:145:18: required from 'Derived& Eigen::DenseBase<Derived>::operator+=(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::TriangularView<const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, 0>, 1>; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1> >]'
145 | call_assignment(derived(), other.derived(), internal::add_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:19: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | * arena_L_val.template triangularView<Eigen::Lower>())
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | .template triangularView<Eigen::Lower>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 4, 1, 4, 4>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 4, 1, 4, 4>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 4, 1, 4, 4>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 4, 1, 4, 4> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 4, 1, 4, 4> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 4, 1, 4, 4> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4, 1, 4, 4>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4, 1, 4, 4>, 0>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4, 1, 4, 4>, 0>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4, 1, 4, 4>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Matrix<double, 4, 4, 1, 4, 4>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Matrix<double, 4, 4, 1, 4, 4>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:303:32: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'struct Eigen::internal::gemm_pack_rhs<double, long long int, Eigen::internal::const_blas_data_mapper<double, long long int, 1>, 4, 1, false, true>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:310:84: required from 'static void Eigen::internal::product_triangular_matrix_matrix<Scalar, Index, Mode, false, LhsStorageOrder, ConjugateLhs, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, Version>::run(Index, Index, Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Index, Index, const Scalar&, Eigen::internal::level3_blocking<Scalar, Scalar>&) [with Scalar = double; Index = long long int; int Mode = 2; int LhsStorageOrder = 0; bool ConjugateLhs = false; int RhsStorageOrder = 1; bool ConjugateRhs = false; int ResInnerStride = 1; int Version = 0]'
310 | gemm_pack_rhs<Scalar, Index, RhsMapper, Traits::nr,RhsStorageOrder,false,true> pack_rhs_panel;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:443:12: required from 'static void Eigen::internal::triangular_product_impl<Mode, LhsIsTriangular, Lhs, false, Rhs, false>::run(Dest&, const Lhs&, const Rhs&, const typename Dest::Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; int Mode = 2; bool LhsIsTriangular = false; Lhs = Eigen::Matrix<double, -1, -1>; Rhs = const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >; typename Dest::Scalar = double]'
438 | internal::product_triangular_matrix_matrix<Scalar, Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
439 | Mode, LhsIsTriangular,
| ~~~~~~~~~~~~~~~~~~~~~~
440 | (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
441 | (internal::traits<ActualRhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
442 | (internal::traits<Dest >::Flags&RowMajorBit) ? RowMajor : ColMajor, Dest::InnerStrideAtCompileTime>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
443 | ::run(
| ~~~~~^
444 | stripedRows, stripedCols, stripedDepth, // sizes
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
445 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
446 | &rhs.coeffRef(0,0), rhs.outerStride(), // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
447 | &dst.coeffRef(0,0), dst.innerStride(), dst.outerStride(), // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
448 | actualAlpha, blocking
| ~~~~~~~~~~~~~~~~~~~~~
449 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:783:113: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::TriangularShape, ProductTag>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1>; Rhs = Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>; int ProductTag = 8; Scalar = double]'
783 | triangular_product_impl<Rhs::Mode,false,Lhs,Lhs::RowsAtCompileTime==1, typename Rhs::MatrixType, false>::run(dst, lhs, rhs.nestedExpression(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:361:27: required from 'static void Eigen::internal::generic_product_impl_base<Lhs, Rhs, Derived>::scaleAndAddTo(Dst&, const Lhs&, const Rhs&, const Scalar&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1>; Rhs = Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>; Derived = Eigen::internal::generic_product_impl<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, Eigen::DenseShape, Eigen::TriangularShape, 8>; Scalar = double]'
361 | { Derived::scaleAndAddTo(dst,lhs,rhs,alpha); }
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:349:33: required from 'static void Eigen::internal::generic_product_impl_base<Lhs, Rhs, Derived>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1>; Rhs = Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>; Derived = Eigen::internal::generic_product_impl<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, Eigen::DenseShape, Eigen::TriangularShape, 8>]'
349 | { dst.setZero(); scaleAndAddTo(dst, lhs, rhs, Scalar(1)); }
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:124:75: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2504:50: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2504 | typedef typename unpacket_traits<Packet>::half HalfPacket;
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2505:82: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2505 | typedef typename unpacket_traits<typename unpacket_traits<Packet>::half>::half QuarterPacket;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2505:82: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2508:56: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2508 | HalfPacketSize = unpacket_traits<HalfPacket>::size,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2508:56: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2509 | QuarterPacketSize = unpacket_traits<QuarterPacket>::size};
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2509:70: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:606:75: required from 'const Eigen::internal::product_evaluator<Eigen::Product<Lhs, Rhs, 1>, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::CoeffReturnType Eigen::internal::product_evaluator<Eigen::Product<Lhs, Rhs, 1>, ProductTag, Eigen::DenseShape, Eigen::DenseShape>::coeff(Eigen::Index, Eigen::Index) const [with Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; int ProductTag = 8; typename Eigen::internal::traits<typename Eigen::Product<Lhs, Rhs, 1>::Lhs>::Scalar = double; typename Eigen::Product<Lhs, Rhs, 1>::Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; typename Eigen::internal::traits<typename Eigen::Product<Lhs, Rhs, 1>::Rhs>::Scalar = double; typename Eigen::Product<Lhs, Rhs, 1>::Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; CoeffReturnType = double; Eigen::Index = long long int]'
606 | return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:654:63: required from 'void Eigen::internal::generic_dense_assignment_kernel<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor, Version>::assignCoeff(Eigen::Index, Eigen::Index) [with DstEvaluatorTypeT = Eigen::internal::evaluator<Eigen::Matrix<double, -1, -1> >; SrcEvaluatorTypeT = Eigen::internal::evaluator<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 1> >; Functor = Eigen::internal::assign_op<double, double>; int Version = 1; Eigen::Index = long long int]'
654 | m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col));
| ~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:668:16: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 8, 8, 0, 8, 8> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 8, 8, 0, 8, 8> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 8, 8, 0, 8, 8> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 8, 8, 0, 8, 8> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from 'Derived& Eigen::DenseBase<Derived>::setConstant(const Scalar&) [with Derived = Eigen::Matrix<double, 8, 8, 0, 8, 8>; Scalar = double]'
347 | return derived() = Constant(rows(), cols(), val);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: required from 'Derived& Eigen::DenseBase<Derived>::setZero() [with Derived = Eigen::Matrix<double, 8, 8, 0, 8, 8>]'
548 | return setConstant(Scalar(0));
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:151:29: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 8, 1, 0, 8, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 8, 1, 0, 8, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 8, 1, 0, 8, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 8, 1, 0, 8, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from 'Derived& Eigen::DenseBase<Derived>::setConstant(const Scalar&) [with Derived = Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0>; Scalar = double]'
347 | return derived() = Constant(rows(), cols(), val);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: required from 'Derived& Eigen::DenseBase<Derived>::setZero() [with Derived = Eigen::Diagonal<Eigen::Matrix<double, 8, 8, 0, 8, 8>, 0>]'
548 | return setConstant(Scalar(0));
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:153:42: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4, 1, 4, 4> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4, 1, 4, 4> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4, 1, 4, 4> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4, 1, 4, 4> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from 'Derived& Eigen::DenseBase<Derived>::setConstant(const Scalar&) [with Derived = Eigen::Matrix<double, 4, 4, 1, 4, 4>; Scalar = double]'
347 | return derived() = Constant(rows(), cols(), val);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: required from 'Derived& Eigen::DenseBase<Derived>::setZero() [with Derived = Eigen::Matrix<double, 4, 4, 1, 4, 4>]'
548 | return setConstant(Scalar(0));
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:301:29: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 8, 1, 0, 8, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 8, 1, 0, 8, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 8, 1, 0, 8, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 8, 1, 0, 8, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 8, 1, 0, 8, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 8, 1, 0, 8, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 18 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true>; Functor = sub_assign_op<double, double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true>; Functor = Eigen::internal::sub_assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true>; Func = sub_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true>; Func = sub_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from 'Derived& Eigen::MatrixBase<Derived>::operator-=(const Eigen::MatrixBase<OtherDerived>&) [with OtherDerived = Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > > >, -1, -1, true>; Derived = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>]'
164 | call_assignment(derived(), other.derived(), internal::sub_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:31: [ skipping 12 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from 'struct Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>'
739 | CoeffReadCost = int(evaluator<Lhs>::CoeffReadCost) + int(evaluator<Rhs>::CoeffReadCost) + int(functor_traits<BinaryOp>::Cost),
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from 'struct Eigen::internal::evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> > >'
722 | struct evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> >; Functor = sub_assign_op<double, double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1> >, -1, -1, true> >; Functor = Eigen::internal::sub_assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:91:20: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>& stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::operator=(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
91 | Base::operator=(other);
| ~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:78:11: required from 'stan::math::arena_matrix<MatrixType, typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type>::arena_matrix(const T&) [with T = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_eigen_t<T>* <anonymous> = 0; MatrixType = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::is_eigen_dense_base<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>]'
78 | *this = other;
| ~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:720:9: required from 'stan::math::vari_value<T, typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type>::vari_value(const S&, bool) [with S = Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<stan::math::conjunction<std::is_same<typename std::decay<_Tp>::type, typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type>, stan::is_eigen_dense_base<T> >::value, void>::type = void; typename std::decay<_Tp>::type = Eigen::Matrix<double, -1, -1>; typename stan::plain_type<typename std::decay<typename std::decay<_Tp>::type>::type, void>::type = Eigen::Matrix<double, -1, -1>; typename std::decay<typename std::decay<_Tp>::type>::type = Eigen::Matrix<double, -1, -1>]'
720 | : val_(x),
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:366:26: required from 'stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::var_value(S&&) [with S = const Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1> > >, 0>; stan::require_assignable_t<T, S>* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
366 | var_value(S&& x) : vi_(new vari_type(std::forward<S>(x), false)) {} // NOLINT
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:27:21: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:43: required from here
60 | return multiply_lower_tri_self_transpose(L);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true>; Functor = sub_assign_op<double, double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; SrcXprType = Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true>; Functor = Eigen::internal::sub_assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true>; Func = sub_assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:858:27: required from 'void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; Src = Eigen::Block<const Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true>; Func = sub_assign_op<double, double>; typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type = void*; typename evaluator_traits<SrcXprType>::Shape = Eigen::DenseShape]'
858 | call_assignment_no_alias(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:164:18: required from 'Derived& Eigen::MatrixBase<Derived>::operator-=(const Eigen::MatrixBase<OtherDerived>&) [with OtherDerived = Eigen::Block<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >, -1, -1, true>; Derived = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>]'
164 | call_assignment(derived(), other.derived(), internal::sub_assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixMatrix.h:457:31: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:78: required from 'struct Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>'
739 | CoeffReadCost = int(evaluator<Lhs>::CoeffReadCost) + int(evaluator<Rhs>::CoeffReadCost) + int(functor_traits<BinaryOp>::Cost),
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: required from 'struct Eigen::internal::evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> > >'
722 | struct evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:774:20: required from 'void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp<scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> >; Functor = sub_assign_op<double, double>]'
774 | SrcEvaluatorType srcEvaluator(src);
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:954:31: required from 'static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>; SrcXprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true> >; Functor = Eigen::internal::sub_assign_op<double, double>; Weak = void]'
954 | call_dense_assignment_loop(dst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; Derived = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 1; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_ref.hpp:19:27: required from 'stan::ref_type_t<T&&> stan::math::to_ref(T&&) [with T = const Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >&; require_not_tuple_t<T>* <anonymous> = 0; stan::ref_type_t<T&&> = Eigen::Matrix<double, -1, -1, 1, -1, -1>]'
19 | return std::forward<T>(a);
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:27:29: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
27 | const auto& M_ref = to_ref(M);
| ~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:0: required from here
34 | return crossprod(B * llt_of_S.matrixU());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.6.1/include" -DNDEBUG -I"../inst/include" -I"D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include' -I'D:/RCompile/CRANpkg/lib/4.6/rstan/include' -I'D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -DTBB_INTERFACE_NEW -ID:/RCompile/CRANpkg/lib/4.6/RcppParallel/include -I"D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include" -D_REENTRANT -DSTAN_THREADS -DTBB_INTERFACE_NEW -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c stanExports_mdcev.cc -o stanExports_mdcev.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:205,
from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Dense:1,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:32,
from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/rstaninc.hpp:3,
from stanExports_mdcev.h:23,
from stanExports_mdcev.cc:5:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:46:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
46 | typedef eigen_packet_wrapper<__m128i, 0> Packet4i;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:47:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
47 | typedef eigen_packet_wrapper<__m128i, 1> Packet16b;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:49:39: warning: ignoring attributes on template argument '__m128' [-Wignored-attributes]
49 | template<> struct is_arithmetic<__m128> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:50:40: warning: ignoring attributes on template argument '__m128i' [-Wignored-attributes]
50 | template<> struct is_arithmetic<__m128i> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:51:40: warning: ignoring attributes on template argument '__m128d' [-Wignored-attributes]
51 | template<> struct is_arithmetic<__m128d> { enum { value = true }; };
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:222:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
222 | template<> struct unpacket_traits<Packet4f> {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:228:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
228 | template<> struct unpacket_traits<Packet2d> {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1124:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
1124 | ptranspose(PacketBlock<Packet4f,4>& kernel) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:1129:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
1129 | ptranspose(PacketBlock<Packet2d,2>& kernel) {
| ^
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:174:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__m128'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:173:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
173 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:16:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
16 | struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:29:60: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__m128d'} [-Wignored-attributes]
29 | struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:298:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
298 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:165:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<float, 4>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<float> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:24:46: required from here
24 | ResAlignment = traits<Quaternion<float> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(4) float>::half' {aka '__m128'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:271:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<float, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<float> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<float>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:27:3: required from here
27 | {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__m128'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 4>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:266:49: required from 'struct Eigen::internal::traits<Eigen::Quaternion<double> >'
266 | Alignment = internal::traits<Coefficients>::Alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:98:47: required from here
98 | ResAlignment = traits<Quaternion<double> >::Alignment
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 4, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50: required from 'class Eigen::QuaternionBase<Eigen::Quaternion<double> >'
46 | typedef typename Coefficients::CoeffReturnType CoeffReturnType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:273:7: required from 'class Eigen::Quaternion<double>'
273 | class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SIMD.h:102:3: required from here
102 | {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/smart_ptr/shared_ptr.hpp:17,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/shared_ptr.hpp:17,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/date_time/time_clock.hpp:17,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/date_time/posix_time/posix_time_types.hpp:10,
from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:15,
from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/rstaninc.hpp:4:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/smart_ptr/detail/shared_count.hpp:294:33: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
294 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
| ^~~~~~~~
In file included from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/memory:78,
from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:7:
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/smart_ptr/shared_ptr.hpp:354:31: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
354 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
| ^~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/smart_ptr/shared_ptr.hpp:365:22: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
365 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
| ^~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/smart_ptr/shared_ptr.hpp:423:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
423 | shared_ptr & operator=( std::auto_ptr<Y> & r )
| ^~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/smart_ptr/shared_ptr.hpp:430:34: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
430 | shared_ptr & operator=( std::auto_ptr<Y> && r )
| ^~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/smart_ptr/shared_ptr.hpp:432:38: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
432 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
| ^~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, -1>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, -1, -1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, -1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/callbacks/stream_writer.hpp:82:22: required from here
82 | output_ << values.transpose().format(CommaInitFmt);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, -1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/callbacks/stream_writer.hpp:82:22: required from here
82 | output_ << values.transpose().format(CommaInitFmt);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/callbacks/stream_writer.hpp:82:32: required from here
82 | output_ << values.transpose().format(CommaInitFmt);
| ~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, -1, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/callbacks/stream_writer.hpp:93:22: required from here
93 | output_ << values.transpose().format(CommaInitFmt);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/callbacks/stream_writer.hpp:93:32: required from here
93 | output_ << values.transpose().format(CommaInitFmt);
| ~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, -1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, -1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 1, -1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 1, -1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/callbacks/stream_writer.hpp:105:22: required from here
105 | output_ << values.format(CommaInitFmt);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/SparseCore:37,
from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Sparse:26,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:33:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 0, int> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 0, int> >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrix.h:96:7: required from 'class Eigen::SparseMatrix<double, 0, int>'
96 | class SparseMatrix
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h:61:25: required from here
61 | typedef Triplet<double> T;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:29: required from here
47 | || (cholesky.vectorD().array() <= 0.0).any()) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:41: required from here
47 | || (cholesky.vectorD().array() <= 0.0).any()) {
| ^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LE>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:47:45: required from here
47 | || (cholesky.vectorD().array() <= 0.0).any()) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/generate_laplace_options.hpp:28:47: required from here
28 | return std::make_tuple(Eigen::VectorXd::Zero(theta_0_size).eval(),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int>(Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >, int, int)::<lambda(bool)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/select.hpp:146:17: required from 'auto stan::math::select(T_bool, T_true, T_false) [with T_bool = Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >; T_true = int; T_false = int; stan::require_eigen_array_vt<std::is_integral, T_bool>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
145 | return c
| ~
146 | .unaryExpr([y_true, y_false](bool cond) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | return cond ? ret_t(y_true) : ret_t(y_false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | })
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_pFq.hpp:130:35: required from here
130 | Eigen::ArrayXi a_sign = select(a_pos_k == 0, 1, -1);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Array<double, -1, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, -1, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, -1, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Array<double, -1, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Array<double, -1, 1> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Array<double, -1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from 'class Eigen::Array<double, -1, 1>'
45 | class Array
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/select.hpp:149:12: required from 'auto stan::math::select(T_bool, T_true, T_false) [with T_bool = Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> > >; T_true = int; T_false = int; stan::require_eigen_array_vt<std::is_integral, T_bool>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
145 | return c
| ~
146 | .unaryExpr([y_true, y_false](bool cond) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | return cond ? ret_t(y_true) : ret_t(y_false);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | })
| ~~
149 | .eval();
| ~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_pFq.hpp:130:35: required from here
130 | Eigen::ArrayXi a_sign = select(a_pos_k == 0, 1, -1);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: required from 'struct Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >::CastXpr<double>'
48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, Eigen::Array<int, -1, 1> > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/select.hpp:171:56: required from 'auto stan::math::select(T_bool, T_true, T_false) [with T_bool = Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, int, Eigen::internal::cmp_EQ>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::Array<int, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; T_true = int; T_false = Eigen::Array<int, -1, 1>; stan::require_eigen_array_t<Mat>* <anonymous> = 0; stan::require_any_eigen_array_t<T_true, T_false>* <anonymous> = 0]'
171 | return c.select(y_true, y_false).template cast<ret_t>().eval();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_pFq.hpp:172:24: required from here
172 | a_sign = select(k == a_pos_k - 1, 1, a_sign);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/linspaced_array.hpp:37:49: required from here
37 | Eigen::VectorXd v = Eigen::VectorXd::LinSpaced(K, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, 1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, 1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, 1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Matrix<double, 1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/linspaced_row_vector.hpp:32:39: required from here
32 | return Eigen::RowVectorXd::LinSpaced(K, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:72: required from here
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:77: required from here
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:71:17: required from here
71 | A.diagonal().array() -= mu;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:71:29: required from here
71 | A.diagonal().array() -= mu;
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:86:43: required from here
86 | bi = (t / (s * (j + 1))) * (A * bi);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:86:43: required from here
86 | bi = (t / (s * (j + 1))) * (A * bi);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:86:43: required from here
86 | bi = (t / (s * (j + 1))) * (A * bi);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:22: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from 'class Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>'
56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:38: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:63:64: required from 'stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)> [with auto:263 = Eigen::Matrix<double, -1, -1>&]'
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>; T2 = Eigen::Matrix<double, -1, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>&]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:62:46: required from 'auto stan::math::ceil(Container&&) [with Container = Eigen::Matrix<double, -1, -1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0]'
62 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:197:41: required from here
197 | Eigen::MatrixXd c = stan::math::ceil(mt) * u.asDiagonal();
| ~~~~~~~~~~~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:63:71: required from 'stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)> [with auto:263 = Eigen::Matrix<double, -1, -1>&]'
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>; T2 = Eigen::Matrix<double, -1, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>&]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:62:46: required from 'auto stan::math::ceil(Container&&) [with Container = Eigen::Matrix<double, -1, -1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0]'
62 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:197:41: required from here
197 | Eigen::MatrixXd c = stan::math::ceil(mt) * u.asDiagonal();
| ~~~~~~~~~~~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>&&)::<lambda(auto:16&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>&&)::<lambda(auto:16&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>&&)::<lambda(auto:16&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_ceil_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::ceil<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:263&&)>; T2 = Eigen::Matrix<double, -1, -1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>&]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/ceil.hpp:62:46: required from 'auto stan::math::ceil(Container&&) [with Container = Eigen::Matrix<double, -1, -1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0]'
62 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
63 | std::forward<Container>(x), [](auto&& v) { return v.array().ceil(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:197:41: required from here
197 | Eigen::MatrixXd c = stan::math::ceil(mt) * u.asDiagonal();
| ~~~~~~~~~~~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::PartialReduxExpr<Eigen::Matrix<double, -1, -1>, Eigen::internal::member_minCoeff<double, double>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::PartialReduxExpr<Eigen::Matrix<double, -1, -1>, Eigen::internal::member_minCoeff<double, double>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::PartialReduxExpr<Eigen::Matrix<double, -1, -1>, Eigen::internal::member_minCoeff<double, double>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from 'class Eigen::PartialReduxExpr<Eigen::Matrix<double, -1, -1>, Eigen::internal::member_minCoeff<double, double>, 0>'
56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:203:38: required from here
203 | int cost = c.colwise().minCoeff().minCoeff(&m);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Matrix<double, -1, -1>, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Matrix<double, -1, -1>, -1, 1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply_lower_tri_self_transpose.hpp:35:26: required from here
35 | LLt(m, m) = Lt.col(m).head(k).squaredNorm();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply_lower_tri_self_transpose.hpp:35:34: required from here
35 | LLt(m, m) = Lt.col(m).head(k).squaredNorm();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/one_hot_row_vector.hpp:25:52: required from here
25 | Eigen::RowVectorXd ret = Eigen::RowVectorXd::Zero(K);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:13:64: required from here
13 | : m_(Eigen::VectorXd::Zero(n)), m2_(Eigen::MatrixXd::Zero(n, n)) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:26:31: required from here
26 | Eigen::VectorXd delta(q - m_);
| ^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:27:19: required from here
27 | m_ += delta / num_samples_;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:27:19: required from here
27 | m_ += delta / num_samples_;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<Eigen::Matrix<double, -1, 1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:38: required from here
28 | m2_ += (q - m_) * delta.transpose();
| ~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0, 5>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:28:39: required from here
28 | m2_ += (q - m_) * delta.transpose();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_covar_estimator.hpp:37:40: required from here
37 | covar = m2_ / (num_samples_ - 1.0);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/welford_var_estimator.hpp:28:30: required from here
28 | m2_ += delta.cwiseProduct(q - m_);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/coupled_ode_system.hpp:78:63: required from here
78 | Eigen::Map<Eigen::VectorXd>(dz_dt.data(), dz_dt.size()) = f_y_t;
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 5>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 5, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 5, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 5, 1>'
178 | class Matrix
| ^~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:79:23: required from 'struct std::_Tuple_impl<1, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
79 | = __conditional_t<__is_final(_Tp), false_type,
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:284:12: required from 'struct std::_Tuple_impl<0, std::array<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 4>, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
284 | struct _Tuple_impl<_Idx, _Head, _Tail...>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:836:11: required from 'class std::tuple<std::array<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 4>, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
836 | class tuple : public _Tuple_impl<0, _Elements...>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:179:29: required from here
179 | make_GenzMalik(const int dim) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 5, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 5, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 5, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 5, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 5, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 5, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 5, 1>'
178 | class Matrix
| ^~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:79:23: required from 'struct std::_Tuple_impl<1, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
79 | = __conditional_t<__is_final(_Tp), false_type,
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:284:12: required from 'struct std::_Tuple_impl<0, std::array<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 4>, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
284 | struct _Tuple_impl<_Idx, _Head, _Tail...>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/tuple:836:11: required from 'class std::tuple<std::array<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 4>, Eigen::Matrix<double, 5, 1, 0, 5, 1>, Eigen::Matrix<double, 4, 1, 0, 4, 1> >'
836 | class tuple : public _Tuple_impl<0, _Elements...>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:179:29: required from here
179 | make_GenzMalik(const int dim) {
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/ode_store_sensitivities.hpp:40:64: required from here
40 | coupled_state.size());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/aux_/na_assert.hpp:23,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/arg.hpp:25,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/placeholders.hpp:24,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/apply.hpp:24,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/serialization/array_optimization.hpp:18,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/serialization/array_wrapper.hpp:21,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/serialization/array.hpp:26,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/ublas/storage.hpp:22,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/ublas/vector.hpp:21,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:23,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint.hpp:25,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor.hpp:17,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim.hpp:17,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/dump.hpp:7,
from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:43:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp: At global scope:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
194 | failed ************ (Pred::************
| ^~~~~~~~~~~~~~~~~~~
195 | assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses
194 | failed ************ (Pred::************
| ^~~~~~~~~~~~~~~~~~~
| -
195 | assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 | );
| ~
| -
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
199 | failed ************ (boost::mpl::not_<Pred>::************
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | );
| ~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses
199 | failed ************ (boost::mpl::not_<Pred>::************
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| -
200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | );
| ~
| -
In file included from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/functional/invocation/detail/that_ptr.hpp:13,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/functional/invocation/invoke.hpp:52,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/functional/adapter/fused.hpp:17,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/functional/generation/make_fused.hpp:13,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/fusion/include/make_fused.hpp:11,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint/util/resize.hpp:30,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint/util/state_wrapper.hpp:26,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:33:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/get_pointer.hpp:48:40: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
48 | template<class T> T * get_pointer(std::auto_ptr<T> const& p)
| ^~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/unique_ptr.h:59:28: note: declared here
59 | template<typename> class auto_ptr;
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:39: required from 'stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)> [with auto:334 = Eigen::Matrix<double, -1, 1>&]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:104:23: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::reduce(T2&&, F&&) [with T2 = Eigen::Matrix<double, -1, 1>&; F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; T = Eigen::Matrix<double, -1, 1>&]'
104 | return make_holder(std::forward<F>(f), std::forward<T2>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<double, -1, 1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here
59 | double log_sum_y = log_sum_exp(log_y);
| ~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:104:23: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::reduce(T2&&, F&&) [with T2 = Eigen::Matrix<double, -1, 1>&; F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; T = Eigen::Matrix<double, -1, 1>&]'
104 | return make_holder(std::forward<F>(f), std::forward<T2>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<double, -1, 1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here
59 | double log_sum_y = log_sum_exp(log_y);
| ~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:42: required from 'stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)> [with auto:334 = Eigen::Matrix<double, -1, 1>&]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~^~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:104:23: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::reduce(T2&&, F&&) [with T2 = Eigen::Matrix<double, -1, 1>&; F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; T = Eigen::Matrix<double, -1, 1>&]'
104 | return make_holder(std::forward<F>(f), std::forward<T2>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<double, -1, 1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here
59 | double log_sum_y = log_sum_exp(log_y);
| ~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:52: required from 'stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)> [with auto:334 = Eigen::Matrix<double, -1, 1>&]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:104:23: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::reduce(T2&&, F&&) [with T2 = Eigen::Matrix<double, -1, 1>&; F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; T = Eigen::Matrix<double, -1, 1>&]'
104 | return make_holder(std::forward<F>(f), std::forward<T2>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<double, -1, 1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here
59 | double log_sum_y = log_sum_exp(log_y);
| ~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<int, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: required from 'struct Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >::CastXpr<double>'
48 | template<class NewType> struct CastXpr { typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>, const Derived> >::type Type; };
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_multinomial_lpmf.hpp:80:63: required from here
80 | auto ns_array = as_array_or_scalar(ns).template cast<double>().eval();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:51&&)> [with auto:51 = Eigen::Array<double, -1, 1>&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:58:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:51&&)>; T2 = Eigen::Array<double, -1, 1>&; stan::require_t<stan::is_eigen_array<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Array<double, -1, 1>&]'
58 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Array<double, -1, 1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_multinomial_lpmf.hpp:84:49: required from here
84 | lp += log(n_sum) - (ns_array > 0).select(log(ns_array), 0.0).sum();
| ~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Select.h:52:7: required from 'class Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_LT>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >'
52 | class Select : public internal::dense_xpr_base< Select<ConditionMatrixType, ThenMatrixType, ElseMatrixType> >::type,
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_multinomial_lpmf.hpp:84:65: required from here
84 | lp += log(n_sum) - (ns_array > 0).select(log(ns_array), 0.0).sum();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:38:59: required from here
38 | Eigen::VectorXd stddev = S_ldlt.vectorD().array().sqrt().matrix();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:46:75: required from here
46 | = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z));
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 5>, Eigen::Matrix<double, -1, 1>, 0>, 2>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:46:76: required from here
46 | = mu + (S_ldlt.transpositionsP().transpose() * (S_ldlt.matrixL() * z));
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/hmm_hidden_state_prob.hpp:77:52: required from here
77 | alphas.col(n) = alphas.col(n).cwiseProduct(beta);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/hmm_latent_rng.hpp:71:73: required from here
71 | probs_vec = alphas.col(n_transitions) / alphas.col(n_transitions).sum();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:42: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:32: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::LDLT<Eigen::Matrix<double, -1, -1>, 1>, Eigen::Matrix<double, -1, -1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:25:32: required from here
25 | S_inv = ldlt_of_S.solve(S_inv);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<Eigen::Matrix<double, -1, -1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:36: required from here
27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:40: required from here
27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:40: required from here
27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/inv_wishart_rng.hpp:27:40: required from here
27 | return 0.5 * (asym.transpose() + asym); // ensure symmetry
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:89:47: required from here
89 | = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:89:54: required from here
89 | = Sigma_ldlt.vectorD().array().inverse().sqrt().matrix();
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:109:64: required from here
109 | (Sigma_ldlt.matrixU().solve(X)).transpose()))
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:108:51: recursively required by substitution of 'template<int Side, class Other> const Eigen::internal::triangular_solve_retval<Side, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Other> Eigen::TriangularViewImpl<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6, Eigen::Dense>::solve(const Eigen::MatrixBase<U>&) const [with int Side = <missing>; Other = <missing>]'
108 | * (D_ldlt.matrixU().solve(
| ~~~~~~~~~~~~~~~~~~~~~~^
109 | (Sigma_ldlt.matrixU().solve(X)).transpose()))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:108:51: required from here
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/ForwardDeclarations.h:32:48: required from 'struct Eigen::internal::accessors_level<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >'
32 | enum { has_direct_access = (traits<Derived>::Flags & DirectAccessBit) ? 1 : 0,
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > >, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:110:32: required from here
110 | .transpose()
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > >, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:110:32: required from here
110 | .transpose()
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:110:43: required from here
110 | .transpose()
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:111:51: required from here
111 | * D_ldlt.transpositionsP());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Product<Eigen::Transpose<Eigen::TranspositionsBase<Eigen::Transpositions<-1, -1, int> > >, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Transpose<const Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 6>, Eigen::Matrix<double, -1, -1> > > > >, 2>, Eigen::Transpositions<-1, -1, int>, 2>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/matrix_normal_prec_rng.hpp:111:52: required from here
111 | * D_ldlt.transpositionsP());
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)> [with auto:12 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:64:23: required from 'static auto stan::math::apply_scalar_unary<F, T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp2>::type>::value, void>::type>::apply(TT&&) [with TT = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; F = stan::math::lgamma_fun; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >]'
64 | return make_holder(
| ~~~~~~~~~~~^
65 | [](auto&& xx) {
| ~~~~~~~~~~~~~~~
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~~
70 | },
| ~~
71 | std::forward<TT>(x));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:79:38: required from 'struct stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>'
79 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:121:50: required from 'auto stan::math::lgamma(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
121 | return apply_scalar_unary<lgamma_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/multinomial_logit_lpmf.hpp:39:44: required from here
39 | lp += lgamma(1 + ns_map.sum()) - lgamma(1 + ns_map).sum();
| ~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)> [with auto:12 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>; long long unsigned int ...Is = {0}; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_unary<lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >&&)::<lambda(auto:12&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:64:23: required from 'static auto stan::math::apply_scalar_unary<F, T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp2>::type>::value, void>::type>::apply(TT&&) [with TT = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; F = stan::math::lgamma_fun; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >]'
64 | return make_holder(
| ~~~~~~~~~~~^
65 | [](auto&& xx) {
| ~~~~~~~~~~~~~~~
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~~
70 | },
| ~~
71 | std::forward<TT>(x));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:79:38: required from 'struct stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, void>'
79 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:121:50: required from 'auto stan::math::lgamma(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, int>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<Eigen::Map<const Eigen::Array<int, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
121 | return apply_scalar_unary<lgamma_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/multinomial_logit_lpmf.hpp:39:44: required from here
39 | lp += lgamma(1 + ns_map.sum()) - lgamma(1 + ns_map).sum();
| ~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_ccdf_log.hpp:5,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob.hpp:203,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim.hpp:18:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lccdf.hpp: In function 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::normal_lccdf(const T_y&, const T_loc&, const T_scale&)':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lccdf.hpp:68: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
68 | } else if (scaled_diff > 8.25 * INV_SQRT_TWO) {
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lccdf.hpp:68: note: adding '-flarge-source-files' will allow for more column-tracking support, at the expense of compilation time and memory
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:117:0: required from here
117 | = Eigen::ArrayXd::LinSpaced(8, 0, 7) * log_inner_r - LOG_TEN;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:117:0: required from here
117 | = Eigen::ArrayXd::LinSpaced(8, 0, 7) * log_inner_r - LOG_TEN;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/std_normal_log_qf.hpp:121:0: required from here
121 | = log_sum_exp(log_r_pow + num_map) - log_sum_exp(log_r_pow + den_map);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::TriangularView<const Eigen::Matrix<double, -1, -1>, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_cholesky_rng.hpp:48:0: required from here
48 | return L_S.template triangularView<Eigen::Lower>() * B.transpose();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/dump.hpp: In member function 'virtual std::vector<std::complex<double> > stan::io::dump::vals_c(const std::string&) const':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/dump.hpp:693: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
693 | for (comp_iter = 0, real_iter = 0; real_iter < val_r->second.first.size();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/dump.hpp:706: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
706 | real_iter < val_i->second.first.size();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:35:0: required from here
35 | output_map.array() += input_map.adj().array();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:35:0: required from here
35 | output_map.array() += input_map.adj().array();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:35:0: required from here
35 | output_map.array() += input_map.adj().array();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:124:0: required from here
124 | output_map.array().adj() += ret->adj_ * input_map.array();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::adj_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:124:0: required from here
124 | output_map.array().adj() += ret->adj_ * input_map.array();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/collect_adjoints.hpp:124:0: required from here
124 | output_map.array().adj() += ret->adj_ * input_map.array();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:14:0: required from 'class stan::math::arena_matrix<Eigen::Matrix<double, -1, -1>, void>'
14 | class arena_matrix<MatrixType, require_eigen_dense_base_t<MatrixType>>
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cholesky_corr_constrain.hpp:41:0: required from here
41 | x_val.coeffRef(0, 0) = 1;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cholesky_factor_constrain.hpp:43:0: required from here
43 | y_val.row(m).head(m) = x.val().segment(pos, m);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:0: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
28 | * arena_L_val.transpose();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:0: required from here
60 | return multiply_lower_tri_self_transpose(L);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:28:0: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
27 | arena_t<ret_type> res = arena_L_val.template triangularView<Eigen::Lower>()
28 | * arena_L_val.transpose();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:0: required from here
60 | return multiply_lower_tri_self_transpose(L);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:31:0: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:0: required from here
60 | return multiply_lower_tri_self_transpose(L);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::TriangularView<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply_lower_tri_self_transpose.hpp:32:0: required from 'auto stan::math::multiply_lower_tri_self_transpose(const T&) [with T = var_value<Eigen::Matrix<double, -1, -1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0]'
31 | arena_L.adj() += ((res.adj().transpose() + res.adj())
32 | * arena_L_val.template triangularView<Eigen::Lower>())
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/cov_matrix_constrain.hpp:60:0: required from here
60 | return multiply_lower_tri_self_transpose(L);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Matrix<double, -1, -1>, -1, -1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Matrix<double, -1, -1>, -1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:101:0: required from here
101 | if (C_adj.size() > 0) {
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:110:0: required from here
110 | = D_adj.adjoint().template triangularView<StrictlyUpper>();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:115:0: required from here
115 | D_adj.diagonal() *= 0.5;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Ref.h:59:34: required from 'class Eigen::RefBase<Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> > >'
59 | template<typename Derived> class RefBase
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Ref.h:281:76: required from 'class Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> >'
281 | template<typename PlainObjectType, int Options, typename StrideType> class Ref
| ^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LLT.h:76:42: required from 'class Eigen::LLT<Eigen::Ref<Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> >, 1>'
76 | MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/cholesky_decompose.hpp:141:0: required from here
141 | check_pos_definite("cholesky_decompose", "m", L_factor);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:0: required from here
79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:0: required from here
79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:79:0: required from here
79 | vector_d di = 2 * adj_ * (v1_map.val() - v2_map.val());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:80:0: required from here
80 | v1_map.adj() += di;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:111:0: required from here
111 | += 2 * adj_ * (v1_map.val() - Eigen::Map<vector_d>(v2_, length_));
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/squared_distance.hpp:111:0: required from here
111 | += 2 * adj_ * (v1_map.val() - Eigen::Map<vector_d>(v2_, length_));
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:0: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:0: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:0: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:0: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/gp_exp_quad_cov.hpp:95:0: required from here
95 | adjsigma += (cov_diag.val().array() * cov_diag.adj().array()).sum();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 1> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 1> >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: recursively required by substitution of 'template<class OtherDerived> static std::true_type stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::SparseMatrix<double, 1> >::f(const Eigen::EigenBase<Derived>*) [with OtherDerived = <missing>]'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::SparseMatrix<double, 1> >'
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: required from 'struct stan::is_eigen<Eigen::SparseMatrix<double, 1> >'
21 | : bool_constant<is_base_pointer_convertible<Eigen::EigenBase, T>::value> {};
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:301:0: required by substitution of 'template<class T> class stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type> [with T = Eigen::SparseMatrix<double, 1>]'
301 | (is_eigen<T>::value || is_kernel_expression_and_not_scalar<T>::value)
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/csr_matrix_times_vector.hpp:190:0: required from here
190 | arena_t<return_t> res = w_mat_arena.val() * value_of(b_arena);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h: In instantiation of 'class Eigen::SparseMatrixBase<Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> > >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseCompressedBase.h:36:7: required from 'class Eigen::SparseCompressedBase<Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> > >'
36 | class SparseCompressedBase
| ^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:50:7: required from 'class Eigen::SparseMapBase<Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> >, 0>'
50 | class SparseMapBase<Derived,ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:148:7: required from 'class Eigen::SparseMapBase<Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> >, 1>'
148 | class SparseMapBase<Derived,WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMap.h:222:7: required from 'class Eigen::Map<Eigen::SparseMatrix<double, 1>, 0, Eigen::Stride<0, 0> >'
222 | class Map<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:182:0: required from 'class stan::math::arena_matrix<Eigen::SparseMatrix<double, 1>, void>'
182 | class arena_matrix<MatrixType, require_eigen_sparse_base_t<MatrixType>>
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/vari.hpp:830:0: required from 'class stan::math::vari_value<Eigen::SparseMatrix<double, 1>, void>'
830 | using InnerIterator = typename arena_matrix<PlainObject>::InnerIterator;
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/var.hpp:444:0: required from 'const auto& stan::math::var_value<T, typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type>::val() const [with T = Eigen::SparseMatrix<double, 1>; typename std::enable_if<std::integral_constant<bool, ((stan::is_eigen<T>::value || stan::is_kernel_expression_and_not_scalar<T>::value) && std::is_floating_point<typename stan::value_type<T>::type>::value)>::value, void>::type = void; typename stan::value_type<T>::type = double]'
444 | inline const auto& val() const noexcept { return vi_->val(); }
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/csr_matrix_times_vector.hpp:190:0: required from here
190 | arena_t<return_t> res = w_mat_arena.val() * value_of(b_arena);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/SparseCore/SparseMatrixBase.h:47:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
47 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, -1>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:97:21: required from 'class Eigen::Tridiagonalization<Eigen::Matrix<double, -1, -1> >'
97 | >::type SubDiagonalReturnType;
| ^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:111:62: required from 'class Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, -1, -1> >'
111 | typedef typename TridiagonalizationType::SubDiagonalType SubDiagonalType;
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/eigendecompose_sym.hpp:39:0: required from here
39 | arena_t<eigval_return_t> eigenvals = solver.eigenvalues();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::adj_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/grad.hpp:27:0: required from here
27 | g = x.adj();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>; T2 = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:50:0: required from here
50 | var log_det = sum(log(M_ldlt.vectorD()));
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, void>::apply<stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>, Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&, stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, void>::apply<stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>, Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&, stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0> > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, void>::apply<stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>, Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&, stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0> > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, void>::apply<stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>, Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&, stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0> > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >(Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>&&)::<lambda(auto:51&&)>; T2 = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:50:0: required from here
50 | var log_det = sum(log(M_ldlt.vectorD()));
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:14:0: required from 'class stan::math::arena_matrix<Eigen::Matrix<double, -1, -1, 1, -1, -1>, void>'
14 | class arena_matrix<MatrixType, require_eigen_dense_base_t<MatrixType>>
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant_spd.hpp:52:0: required from here
52 | reverse_pass_callback([arena_M, log_det, arena_M_inv_transpose]() mutable {
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:7,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_mix.hpp:6,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun.hpp:114,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev.hpp:14,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/test_gradients.hpp:7,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:8,
from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:49:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp: In constructor 'stan::math::internal::ops_partials_edge<double, std::vector<std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > > > >::ops_partials_edge(const std::vector<std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > > >&)':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:223: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
223 | for (size_t i = 0; i < stan::math::size(ops); ++i) {
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_softmax.hpp:73:0: required from here
73 | vector_d diff = (x_d.array() - x_d.maxCoeff());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_softmax.hpp:81:0: required from here
81 | Eigen::Map<vector_d>(softmax_x_d_array, a_size) = softmax_x_d.array() / sum;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:51:0: required from here
51 | arena_powers[0] = Eigen::MatrixXd::Identity(N, N);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:54:0: required from here
54 | arena_powers[i] = arena_powers[1] * arena_powers[i - 1];
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:64:0: required from here
64 | adj_M += adj_C * arena_powers[i - 1].transpose();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:65:0: required from here
65 | adj_C = M_val.transpose() * adj_C;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, -1>, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, -1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, -1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/matrix_power.hpp:65:0: required from here
65 | adj_C = M_val.transpose() * adj_C;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::vari_value<double>*, -1, -1> > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/mdivide_left_spd.hpp:68:0: required from here
68 | Eigen::Map<matrix_vi>(variRefB_, M_, N_).adj() += adjB;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/mdivide_left_tri.hpp:86:0: required from here
86 | adjA = -adjB * Map<matrix_d>(C_, M_, N_).transpose();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/mdivide_left_tri.hpp:86:0: required from here
86 | adjA = -adjB * Map<matrix_d>(C_, M_, N_).transpose();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/quad_form.hpp:25:0: required from here
25 | matrix_d M = 0.5 * (Cd + Cd.transpose());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:55:0: required from here
55 | L.col(0).tail(pull) = CPCs.val().head(pull);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:14:0: required from 'class stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>'
14 | class arena_matrix<MatrixType, require_eigen_dense_base_t<MatrixType>>
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:56:0: required from here
56 | arena_acc.tail(pull) = 1.0 - CPCs.val().head(pull).array().square();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:63:0: required from here
63 | L.col(i).tail(pull) = cpc_seg * arena_acc.tail(pull).sqrt();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Array<double, -1, 1>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Array<double, -1, 1>, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Array<double, -1, 1>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:86:0: required from here
86 | -= 2.0 * acc_adj.tail(pull) * acc_val.tail(pull) * cpc_seg_val;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:86:0: required from here
86 | -= 2.0 * acc_adj.tail(pull) * acc_val.tail(pull) * cpc_seg_val;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:0: required from here
90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:0: required from here
90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Block<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, -1, 1, true>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:0: required from here
90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::Block<Eigen::Array<double, -1, 1>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_corr_L.hpp:90:0: required from here
90 | += L_res.adj().array().col(i).tail(pull) * acc_val.tail(pull).sqrt();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/read_cov_matrix.hpp:57:0: required from here
57 | sds.adj() += (prod.adj().cwiseProduct(corr_L.val())).rowwise().sum();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Matrix<int, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/rows_dot_self.hpp:42:0: required from here
42 | x.adj() += (2 * res.adj()).asDiagonal() * x.val();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd.hpp:57:0: required from here
57 | arena_Fp.diagonal().setZero();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd.hpp:70:0: required from here
70 | * (arena_Fp.array() * (UUadjT - UUadjT.transpose()).array())
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd.hpp:70:0: required from here
70 | * (arena_Fp.array() * (UUadjT - UUadjT.transpose()).array())
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd.hpp:71:0: required from here
71 | .matrix()
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd_V.hpp:62:0: required from here
62 | .matrix()
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Transpose<Eigen::Matrix<double, -1, -1> > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd_V.hpp:62:0: required from here
62 | .matrix()
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:278:47: required from 'struct Eigen::internal::traits<Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
278 | typedef typename DiagonalVectorType::Scalar Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/EigenBase.h:42:59: required from 'struct Eigen::EigenBase<Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
42 | typedef typename internal::traits<Derived>::StorageKind StorageKind;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:18:7: required from 'class Eigen::DiagonalBase<Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
18 | class DiagonalBase : public EigenBase<Derived>
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DiagonalMatrix.h:293:7: required from 'class Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
293 | class DiagonalWrapper
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/svd_V.hpp:64:0: required from here
64 | + arena_U * arena_D.asDiagonal().inverse()
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:24:0: required from here
24 | vector_d dtrs_vals = dtrs_map.val();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:26:0: required from here
26 | vector_d diff = dtrs_vals.array() - dtrs_vals.mean();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:28:0: required from here
28 | Eigen::Map<vector_d>(partials, size) = 2 * diff.array() / size_m1;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:28:0: required from here
28 | Eigen::Map<vector_d>(partials, size) = 2 * diff.array() / size_m1;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/jacobian.hpp:27:0: required from here
27 | fx = fx_var.val();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: required from 'struct std::__result_of_impl<false, false, stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>, const Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>&>'
2666 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>, const Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>, const Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>; Args = {const Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:83:21: required from 'auto stan::math::value_of(EigMat&&) [with EigMat = const Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_eigen_dense_base_t<EigMat>* <anonymous> = 0; stan::require_not_st_arithmetic<T>* <anonymous> = 0]'
83 | return make_holder(
| ~~~~~~~~~~~^
84 | [](auto&& a) {
| ~~~~~~~~~~~~~~
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86 | },
| ~~
87 | std::forward<EigMat>(M));
| ~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/algebra_solver_fp.hpp:101:0: required from here
101 | y_dummy(stan::math::value_of(y)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: required from 'class Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >'
58 | class CwiseUnaryView : public CwiseUnaryViewImpl<ViewOp, MatrixType, typename internal::traits<MatrixType>::StorageKind>
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/solve_powell.hpp:371:0: required from here
371 | Eigen::VectorXd eta = -Jf_x_T_lu_ptr->solve(ret.adj().eval());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::PartialPivLU<Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::Matrix<double, -1, -1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/solve_powell.hpp:371:0: required from here
371 | Eigen::VectorXd eta = -Jf_x_T_lu_ptr->solve(ret.adj().eval());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/cvodes_integrator_adjoint.hpp:603:0: required from here
603 | f_y_t_vars.adj() = -Eigen::Map<Eigen::VectorXd>(NV_DATA_S(yB), N_);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/finite_diff_hessian_times_vector_auto.hpp:64:0: required from here
64 | hvp = (grad_forward - grad_backward) / (2 * epsilon);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/initialize.hpp:7,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/random_var_context.hpp: In member function 'virtual std::vector<std::complex<double> > stan::io::random_var_context::vals_c(const std::string&) const':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/random_var_context.hpp:111: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
111 | for (comp_iter = 0, real_iter = 0; real_iter < val_r.size();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:182:0: required from here
182 | return normal_fullrank(Eigen::VectorXd(mu_.array().square()),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:183:0: required from here
183 | Eigen::MatrixXd(L_chol_.array().square()));
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_square_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:183:0: required from here
183 | Eigen::MatrixXd(L_chol_.array().square()));
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:197:0: required from here
197 | return normal_fullrank(Eigen::VectorXd(mu_.array().sqrt()),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_sqrt_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:198:0: required from here
198 | Eigen::MatrixXd(L_chol_.array().sqrt()));
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:351:0: required from here
351 | return (L_chol_ * eta) + mu_;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:351:0: required from here
351 | return (L_chol_ * eta) + mu_;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:459:0: required from here
459 | L_grad.diagonal().array() += L_chol_.diagonal().array().inverse();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:459:0: required from here
459 | L_grad.diagonal().array() += L_chol_.diagonal().array().inverse();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:314:0: required from here
314 | return eta.array().cwiseProduct(omega_.array().exp()) + mu_.array();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:314:0: required from here
314 | return eta.array().cwiseProduct(omega_.array().exp()) + mu_.array();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:314:0: required from here
314 | return eta.array().cwiseProduct(omega_.array().exp()) + mu_.array();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:370:0: required from here
370 | omega_grad.array() += tmp_mu_grad.array().cwiseProduct(eta.array());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_meanfield.hpp:388:0: required from here
388 | omega_grad.array() = omega_grad.array().cwiseProduct(omega_.array().exp());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:22:0: required from here
22 | vector_d eigenprojections = eigenvectors.transpose() * g;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/nuts/base_nuts.hpp:175:0: required from here
175 | rho = rho_bck + rho_fwd;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:22:0: required from here
22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:22:0: required from here
22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:22:0: required from here
22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:126:7: required from 'class Eigen::internal::dense_product_base<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0, 6>'
126 | class dense_product_base<Lhs, Rhs, Option, InnerProduct>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:22:0: required from here
22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 1>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:179:81: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0> >'
179 | typedef typename internal::find_best_packet<Scalar,SizeAtCompileTime>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:126:7: required from 'class Eigen::internal::dense_product_base<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0, 6>'
126 | class dense_product_base<Lhs, Rhs, Option, InnerProduct>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<Eigen::Matrix<double, -1, 1> > >, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:22:0: required from here
22 | return 0.5 * z.p.transpose() * z.inv_e_metric_ * z.p;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:86:7: required from 'class Eigen::SolveImpl<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
86 | class SolveImpl<Decomposition,RhsType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Solve.h:62:7: required from 'class Eigen::Solve<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, Eigen::Matrix<double, -1, 1> >'
62 | class Solve : public SolveImpl<Decomposition,RhsType,typename internal::traits<RhsType>::StorageKind>
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/dense_e_metric.hpp:53:0: required from here
53 | z.p = z.inv_e_metric_.llt().matrixU().solve(u);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/create_unit_e_diag_inv_metric.hpp:4,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/inv_metric.hpp:1,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:14,
from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:56:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp: In member function 'virtual std::vector<std::complex<double> > stan::io::array_var_context::vals_c(const std::string&) const':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp:304: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
304 | for (comp_iter = 0, real_iter = 0; real_iter < val_r->second.first.size();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp:317: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
317 | real_iter < val_i->second.first.size();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:141:25: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: required from 'struct std::__result_of_impl<false, false, stan::math::to_matrix<std::vector<double>&>(std::vector<double>&, int, int)::<lambda(auto:375&&)>, std::vector<double, std::allocator<double> >&>'
2666 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::to_matrix<std::vector<double>&>(std::vector<double>&, int, int)::<lambda(auto:375&&)>, std::vector<double, std::allocator<double> >&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::to_matrix<std::vector<double>&>(std::vector<double>&, int, int)::<lambda(auto:375&&)>, std::vector<double, std::allocator<double> >&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::to_matrix<std::vector<double>&>(std::vector<double>&, int, int)::<lambda(auto:375&&)>; Args = {std::vector<double, std::allocator<double> >&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:133:21: required from 'auto stan::math::to_matrix(T&&, int, int) [with T = std::vector<double>&; stan::require_std_vector_vt<stan::is_stan_scalar, T>* <anonymous> = 0]'
133 | return make_holder(
| ~~~~~~~~~~~^
134 | [m, n](auto&& x_) {
| ~~~~~~~~~~~~~~~~~~~
135 | if constexpr (std::is_integral_v<value_type_t<decltype(x_)>>) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | return Eigen::Map<const Eigen::Matrix<
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | value_type_t<decltype(x_)>, Eigen::Dynamic, Eigen::Dynamic>>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 | &x_[0], m, n)
| ~~~~~~~~~~~~~
139 | .template cast<double>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~
140 | } else {
| ~~~~~~~~
141 | return Eigen::Map<const Eigen::Matrix<
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | value_type_t<decltype(x_)>, Eigen::Dynamic, Eigen::Dynamic>>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143 | &x_[0], m, n);
| ~~~~~~~~~~~~~~
144 | }
| ~
145 | },
| ~~
146 | std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/read_dense_inv_metric.hpp:33:0: required from here
33 | inv_metric = stan::math::to_matrix(dense_vals, num_params, num_params);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:27:0: required from here
27 | covar = (n / (n + 5.0)) * covar
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:29:0: required from here
29 | * Eigen::MatrixXd::Identity(covar.rows(), covar.cols());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:29:0: required from here
29 | * Eigen::MatrixXd::Identity(covar.rows(), covar.cols());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/diag_e_metric.hpp:21:0: recursively required by substitution of 'template<class OtherDerived> typename Eigen::ScalarBinaryOpTraits<double, typename Eigen::internal::traits<T>::Scalar, Eigen::internal::scalar_product_op<double, typename Eigen::internal::traits<T>::Scalar> >::ReturnType Eigen::MatrixBase<Eigen::Matrix<double, -1, 1> >::dot(const Eigen::MatrixBase<Derived>&) const [with OtherDerived = <missing>]'
21 | return 0.5 * z.p.dot(z.inv_e_metric_.cwiseProduct(z.p));
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/diag_e_metric.hpp:21:0: required from here
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/var_adaptation.hpp:27:0: required from here
27 | var = (n / (n + 5.0)) * var
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/var_adaptation.hpp:28:0: required from here
28 | + 1e-3 * (5.0 / (n + 5.0)) * Eigen::VectorXd::Ones(var.size());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/var_adaptation.hpp:28:0: required from here
28 | + 1e-3 * (5.0 / (n + 5.0)) * Eigen::VectorXd::Ones(var.size());
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, -1>, 1, -1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::Matrix<double, -1, -1>, 1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::Matrix<double, -1, -1>, 1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:74:0: required from here
74 | Eigen::Map<Eigen::VectorXd>(&row[0], draws.cols()) = draws.row(i);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Map.h:94:79: required from 'class Eigen::Map<Eigen::Matrix<double, 1, -1>, 0, Eigen::Stride<0, 0> >'
94 | template<typename PlainObjectType, int MapOptions, typename StrideType> class Map
| ^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/arena_matrix.hpp:14:0: required from 'class stan::math::arena_matrix<Eigen::Matrix<double, 1, -1>, void>'
14 | class arena_matrix<MatrixType, require_eigen_dense_base_t<MatrixType>>
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue_varmat.hpp:145:0: required from here
145 | x_ret_vals.coeffRef(j) = x.val().coeff(row_idx_val, col_idx_vals[j]);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:1680:0: required from here
1680 | stan::math::subtract(income,
1681 | stan::math::rows_dot_product(price_j, quant_j))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1679:0: required from here
1679 | stan::math::log(
1680 | stan::math::subtract(income,
1681 | stan::math::rows_dot_product(price_j, quant_j))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1679:0: required from here
1679 | stan::math::log(
1680 | stan::math::subtract(income,
1681 | stan::math::rows_dot_product(price_j, quant_j))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1679:0: required from here
1679 | stan::math::log(
1680 | stan::math::subtract(income,
1681 | stan::math::rows_dot_product(price_j, quant_j))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from 'auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >; stan::require_all_eigen_vt<std::is_arithmetic, Mat1, Mat2>* <anonymous> = 0; stan::require_not_eigen_row_and_col_t<Mat1, Mat2>* <anonymous> = 0]'
107 | return m1 * m2;
| ~~~^~~~
stanExports_mdcev.h:1699:0: required from here
1699 | stan::math::multiply(nonzero,
1700 | stan::math::rep_vector(static_cast<double>(1), J)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:18: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~^~
stanExports_mdcev.h:1698:0: required from here
1698 | stan::math::add(
1699 | stan::math::multiply(nonzero,
1700 | stan::math::rep_vector(static_cast<double>(1), J)),
1701 | static_cast<double>(1)), "assigning variable M");
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:21: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~^~~~
stanExports_mdcev.h:1698:0: required from here
1698 | stan::math::add(
1699 | stan::math::multiply(nonzero,
1700 | stan::math::rep_vector(static_cast<double>(1), J)),
1701 | static_cast<double>(1)), "assigning variable M");
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:61:32: required from 'auto stan::math::add(const Mat&, Scal) [with Mat = Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
61 | return (m.array() + c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:1698:0: required from here
1698 | stan::math::add(
1699 | stan::math::multiply(nonzero,
1700 | stan::math::rep_vector(static_cast<double>(1), J)),
1701 | static_cast<double>(1)), "assigning variable M");
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:12&&)> [with auto:12 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:12&&)>, Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:12&&)>; Args = {Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:64:23: required from 'static auto stan::math::apply_scalar_unary<F, T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp2>::type>::value, void>::type>::apply(TT&&) [with TT = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&; F = stan::math::lgamma_fun; T = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&]'
64 | return make_holder(
| ~~~~~~~~~~~^
65 | [](auto&& xx) {
| ~~~~~~~~~~~~~~~
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~~
70 | },
| ~~
71 | std::forward<TT>(x));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:79:38: required from 'struct stan::math::apply_scalar_unary<stan::math::lgamma_fun, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>'
79 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:121:50: required from 'auto stan::math::lgamma(T&&) [with T = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
121 | return apply_scalar_unary<lgamma_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1703:0: required from here
1703 | stan::model::assign(log_M_fact, stan::math::lgamma(M),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/model_header.hpp:8,
from stanExports_mdcev.h:25:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp: In instantiation of 'auto stan::io::deserializer<T>::read(Eigen::Index, Sizes ...) [with Ret = std::vector<Eigen::Matrix<double, -1, 1> >; Sizes = {int}; stan::require_std_vector_t<U>* <anonymous> = 0; stan::require_not_same_t<typename stan::value_type<TT, void>::type, T>* <anonymous> = 0; T = double; Eigen::Index = long long int]':
stanExports_mdcev.h:2569:0: required from here
2568 | in__.template read<
2569 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>>(K, NPsi);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:337: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::Index' {aka 'long long int'} [-Wsign-compare]
337 | for (size_t i = 0; i < m; ++i) {
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<const Eigen::Matrix<double, -1, 1>&, const int&>(const Eigen::Matrix<double, -1, 1>&, const int&)::<lambda(auto:394&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<const Eigen::Matrix<double, -1, 1>&, const int&>(const Eigen::Matrix<double, -1, 1>&, const int&)::<lambda(auto:394&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<const Eigen::Matrix<double, -1, 1>&, const int&>(const Eigen::Matrix<double, -1, 1>&, const int&)::<lambda(auto:394&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::lb_constrain<const Eigen::Matrix<double, -1, 1>&, const int&>(const Eigen::Matrix<double, -1, 1>&, const int&)::<lambda(auto:394&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::lb_constrain<const Eigen::Matrix<double, -1, 1>&, const int&>(const Eigen::Matrix<double, -1, 1>&, const int&)::<lambda(auto:394&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:86:26: required from 'auto stan::math::lb_constrain(T&&, L&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
86 | return eval(x.unaryExpr([lb](auto&& x) { return lb_constrain(x, lb); }));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:163:49: required from 'auto stan::math::lb_constrain(const std::vector<T>&, const L&) [with T = Eigen::Matrix<double, -1, 1>; L = int; stan::require_not_std_vector_t<T_high>* <anonymous> = 0]'
163 | std::vector<plain_type_t<decltype(lb_constrain(x[0], lb))>> ret(x.size());
| ~~~~~~~~~~~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:262:24: required from 'auto stan::math::lb_constrain(T&&, L&&, Lp&) [with bool Jacobian = false; T = std::vector<Eigen::Matrix<double, -1, 1> >; L = const int&; Lp = double; stan::require_convertible_t<typename stan::return_type<T1, T2>::type, Lp>* <anonymous> = 0]'
262 | return lb_constrain(std::forward<T>(x), std::forward<L>(lb));
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:385:0: required from 'auto stan::io::deserializer<T>::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<double, -1, 1> >; bool Jacobian = false; LB = int; LP = double; Sizes = {int, int}; T = double]'
385 | return stan::math::lb_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
386 | lp);
stanExports_mdcev.h:2577:0: required from here
2576 | in__.template read_constrain_lb<
2577 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2578 | lp__, K, Gamma);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&)::<lambda(auto:409&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&)::<lambda(auto:409&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&)::<lambda(auto:409&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&)::<lambda(auto:409&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&)::<lambda(auto:409&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:124:18: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0]'
124 | x.unaryExpr([ub, lb](auto&& xx) { return lub_constrain(xx, lb, ub); }));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:251:50: required from 'auto stan::math::lub_constrain(const std::vector<T>&, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
251 | std::vector<plain_type_t<decltype(lub_constrain(x[0], lb, ub))>> ret(
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:406:25: required from 'auto stan::math::lub_constrain(T&&, L&&, U&&, Lp&) [with bool Jacobian = false; T = std::vector<Eigen::Matrix<double, -1, 1> >; L = const int&; U = const int&; Lp = double; stan::require_convertible_t<typename stan::return_type<T, L, U>::type, Lp>* <anonymous> = 0]'
406 | return lub_constrain(std::forward<T>(x), std::forward<L>(lb),
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
407 | std::forward<U>(ub));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<double, -1, 1> >; bool Jacobian = false; LB = int; UB = int; LP = double; Sizes = {int, int}; T = double]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2582:0: required from here
2581 | in__.template read_constrain_lub<
2582 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2583 | 1, lp__, K, A);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&&, const int&)::<lambda(auto:394&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&&, const int&)::<lambda(auto:394&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&&, const int&)::<lambda(auto:394&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&&, const int&)::<lambda(auto:394&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const int&>(Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&&, const int&)::<lambda(auto:394&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:86:26: required from 'auto stan::math::lb_constrain(T&&, L&&) [with T = Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; L = const int&; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
86 | return eval(x.unaryExpr([lb](auto&& x) { return lb_constrain(x, lb); }));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:262:24: required from 'auto stan::math::lb_constrain(T&&, L&&, Lp&) [with bool Jacobian = false; T = Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; L = const int&; Lp = double; stan::require_convertible_t<typename stan::return_type<T1, T2>::type, Lp>* <anonymous> = 0]'
262 | return lb_constrain(std::forward<T>(x), std::forward<L>(lb));
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:385:0: required from 'auto stan::io::deserializer<T>::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = Eigen::Matrix<double, -1, 1>; bool Jacobian = false; LB = int; LP = double; Sizes = {int}; T = double]'
385 | return stan::math::lb_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
386 | lp);
stanExports_mdcev.h:2587:0: required from here
2586 | in__.template read_constrain_lb<Eigen::Matrix<local_scalar_t__,-1,1>,
2587 | jacobian__>(0, lp__, S);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, 1>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::Matrix<double, -1, 1>, -1, 1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/head.hpp:26:16: required from 'auto stan::math::head(const T&, size_t) [with T = Eigen::Matrix<double, -1, 1>; stan::require_vector_t<T_y>* <anonymous> = 0; size_t = long long unsigned int]'
26 | return v.head(n);
| ~~~~~~^~~
stanExports_mdcev.h:2696:0: required from here
2696 | stan::math::head(psi_k, (J - 1)))), I),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Replicate<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Replicate<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Replicate<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Replicate.h:61:65: required from 'class Eigen::Replicate<Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, -1, -1>'
61 | template<typename MatrixType,int RowFactor,int ColFactor> class Replicate
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rep_matrix.hpp:57:23: required from 'auto stan::math::rep_matrix(const Vec&, int) [with Vec = Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >; stan::require_eigen_vector_t<C>* <anonymous> = 0]'
57 | return x.replicate(n, 1);
| ~~~~~~~~~~~^~~~~~
stanExports_mdcev.h:2693:0: required from here
2693 | stan::math::rep_matrix(
2694 | stan::math::transpose(
2695 | stan::math::append_row(static_cast<double>(0),
2696 | stan::math::head(psi_k, (J - 1)))), I),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from 'auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_all_eigen_vt<std::is_arithmetic, Mat1, Mat2>* <anonymous> = 0; stan::require_not_eigen_row_and_col_t<Mat1, Mat2>* <anonymous> = 0]'
107 | return m1 * m2;
| ~~~^~~~
stanExports_mdcev.h:2702:0: required from here
2702 | stan::math::multiply(dat_psi,
2703 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, -1>; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:2700:0: required from here
2700 | stan::math::add(stan::model::deep_copy(lpsi),
2701 | stan::math::to_matrix(
2702 | stan::math::multiply(dat_psi,
2703 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, 1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from 'auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_vt<std::is_arithmetic, Mat1, Mat2>* <anonymous> = 0; stan::require_not_eigen_row_and_col_t<Mat1, Mat2>* <anonymous> = 0]'
107 | return m1 * m2;
| ~~~^~~~
stanExports_mdcev.h:2721:0: required from here
2721 | stan::math::to_matrix(stan::math::multiply(dat_psi, psi_k),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:70: required from 'stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)> [with auto:52 = Eigen::Matrix<double, -1, -1>&]'
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>; T2 = Eigen::Matrix<double, -1, -1>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::Matrix<double, -1, -1>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2779:0: required from here
2779 | stan::math::exp(
2780 | stan::math::to_matrix(
2781 | stan::math::multiply(dat_phi,
2782 | stan::model::rvalue(phi, "phi",
2783 | stan::model::index_uni(k))), I, J, 0)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, -1, 0, -1, -1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, -1, 0, -1, -1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>; Args = {Eigen::Matrix<double, -1, -1, 0, -1, -1>}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:49:22: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>; T2 = Eigen::Matrix<double, -1, -1>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>]'
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::Matrix<double, -1, -1>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2779:0: required from here
2779 | stan::math::exp(
2780 | stan::math::to_matrix(
2781 | stan::math::multiply(dat_phi,
2782 | stan::model::rvalue(phi, "phi",
2783 | stan::model::index_uni(k))), I, J, 0)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>, void>::apply<stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>, Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&, stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)> [with auto:16 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>, void>::apply<stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>, Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&, stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>, void>::apply<stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>, Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&, stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>, void>::apply<stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>, Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&, stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>; T2 = Eigen::Matrix<double, -1, -1>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::Matrix<double, -1, -1>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2779:0: required from here
2779 | stan::math::exp(
2780 | stan::math::to_matrix(
2781 | stan::math::multiply(dat_phi,
2782 | stan::model::rvalue(phi, "phi",
2783 | stan::model::index_uni(k))), I, J, 0)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> > >; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>, void>::apply<stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>, Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&, stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_vector_unary<Eigen::Matrix<double, -1, -1>, void>::apply<stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>, Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&, stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>; Args = {Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >, Eigen::Matrix<double, -1, -1, 0, -1, -1> >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::Matrix<double, -1, -1> >(Eigen::Matrix<double, -1, -1>&&)::<lambda(auto:52&&)>; T2 = Eigen::Matrix<double, -1, -1>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Matrix<double, -1, -1>]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::Matrix<double, -1, -1>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2779:0: required from here
2779 | stan::math::exp(
2780 | stan::math::to_matrix(
2781 | stan::math::multiply(dat_phi,
2782 | stan::model::rvalue(phi, "phi",
2783 | stan::model::index_uni(k))), I, J, 0)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from 'auto stan::math::transpose(const T&) [with T = Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; stan::require_matrix_t<T>* <anonymous> = 0]'
18 | return m.transpose();
| ~~~~~~~~~~~^~
stanExports_mdcev.h:2821:0: required from here
2821 | stan::math::multiply(data_class, stan::math::transpose(delta)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from 'auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >; stan::require_all_eigen_vt<std::is_arithmetic, Mat1, Mat2>* <anonymous> = 0; stan::require_not_eigen_row_and_col_t<Mat1, Mat2>* <anonymous> = 0]'
107 | return m1 * m2;
| ~~~^~~~
stanExports_mdcev.h:2821:0: required from here
2821 | stan::math::multiply(data_class, stan::math::transpose(delta)),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1>'
223 | template<typename Derived> class MapBase<Derived, WriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<Eigen::Matrix<double, -1, -1>, 1, -1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<Eigen::Matrix<double, -1, -1>, 1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:257:0: required from 'auto stan::model::rvalue(Mat&&, const char*, index_uni) [with Mat = Eigen::Matrix<double, -1, -1>&; stan::require_dense_dynamic_t<T_y>* <anonymous> = 0]'
257 | return x.row(idx.n_ - 1);
stanExports_mdcev.h:2835:0: required from here
2835 | stan::model::rvalue(delta_data, "delta_data",
2836 | stan::model::index_uni(i))))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from 'auto stan::math::transpose(const T&) [with T = Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>; stan::require_matrix_t<T>* <anonymous> = 0]'
18 | return m.transpose();
| ~~~~~~~~~~~^~
stanExports_mdcev.h:2834:0: required from here
2834 | stan::math::transpose(
2835 | stan::model::rvalue(delta_data, "delta_data",
2836 | stan::model::index_uni(i))))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: required from 'struct std::__result_of_impl<false, false, stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&>'
2666 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_softmax.hpp:46:21: required from 'auto stan::math::log_softmax(Container&&) [with Container = Eigen::Matrix<double, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
46 | return make_holder(
| ~~~~~~~~~~~^
47 | [](auto&& a) {
| ~~~~~~~~~~~~~~
48 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | std::forward<decltype(a)>(a),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | [](auto&& v) { return v.array() - log_sum_exp(v); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | },
| ~~
52 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2832:0: required from here
2832 | stan::math::log_softmax(
2833 | stan::math::append_row(static_cast<double>(0),
2834 | stan::math::transpose(
2835 | stan::model::rvalue(delta_data, "delta_data",
2836 | stan::model::index_uni(i))))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>&&)::<lambda(auto:16&&)> [with auto:16 = stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>&&)::<lambda(auto:16&&)>; _Args = {stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: required from 'struct std::__result_of_impl<false, false, stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&>'
2666 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_softmax.hpp:46:21: required from 'auto stan::math::log_softmax(Container&&) [with Container = Eigen::Matrix<double, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
46 | return make_holder(
| ~~~~~~~~~~~^
47 | [](auto&& a) {
| ~~~~~~~~~~~~~~
48 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | std::forward<decltype(a)>(a),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | [](auto&& v) { return v.array() - log_sum_exp(v); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | },
| ~~
52 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2832:0: required from here
2832 | stan::math::log_softmax(
2833 | stan::math::append_row(static_cast<double>(0),
2834 | stan::math::transpose(
2835 | stan::model::rvalue(delta_data, "delta_data",
2836 | stan::model::index_uni(i))))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>&&)::<lambda(auto:16&&)>; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: required from 'struct std::__result_of_impl<false, false, stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&>'
2666 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_softmax.hpp:46:21: required from 'auto stan::math::log_softmax(Container&&) [with Container = Eigen::Matrix<double, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
46 | return make_holder(
| ~~~~~~~~~~~^
47 | [](auto&& a) {
| ~~~~~~~~~~~~~~
48 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | std::forward<decltype(a)>(a),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | [](auto&& v) { return v.array() - log_sum_exp(v); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | },
| ~~
52 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2832:0: required from here
2832 | stan::math::log_softmax(
2833 | stan::math::append_row(static_cast<double>(0),
2834 | stan::math::transpose(
2835 | stan::model::rvalue(delta_data, "delta_data",
2836 | stan::model::index_uni(i))))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:47:25: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>::<lambda(auto:342&&)>; T2 = Eigen::Matrix<double, -1, 1>&; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = const Eigen::Matrix<double, -1, 1>&]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | make_holder(std::forward<F>(f), std::forward<T2>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_softmax.hpp:48:64: required from 'stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)> [with auto:341 = Eigen::Matrix<double, -1, 1>&]'
48 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
49 | std::forward<decltype(a)>(a),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | [](auto&& v) { return v.array() - log_sum_exp(v); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_softmax.hpp:46:21: required from 'auto stan::math::log_softmax(Container&&) [with Container = Eigen::Matrix<double, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
46 | return make_holder(
| ~~~~~~~~~~~^
47 | [](auto&& a) {
| ~~~~~~~~~~~~~~
48 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | std::forward<decltype(a)>(a),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | [](auto&& v) { return v.array() - log_sum_exp(v); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | },
| ~~
52 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2832:0: required from here
2832 | stan::math::log_softmax(
2833 | stan::math::append_row(static_cast<double>(0),
2834 | stan::math::transpose(
2835 | stan::model::rvalue(delta_data, "delta_data",
2836 | stan::model::index_uni(i))))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = log_softmax<Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&)::<lambda(auto:341&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_softmax.hpp:46:21: required from 'auto stan::math::log_softmax(Container&&) [with Container = Eigen::Matrix<double, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
46 | return make_holder(
| ~~~~~~~~~~~^
47 | [](auto&& a) {
| ~~~~~~~~~~~~~~
48 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | std::forward<decltype(a)>(a),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | [](auto&& v) { return v.array() - log_sum_exp(v); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | },
| ~~
52 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2832:0: required from here
2832 | stan::math::log_softmax(
2833 | stan::math::append_row(static_cast<double>(0),
2834 | stan::math::transpose(
2835 | stan::model::rvalue(delta_data, "delta_data",
2836 | stan::model::index_uni(i))))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor.hpp:14:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp: In instantiation of 'Eigen::Matrix<Type, -1, -1> stan::math::internal::combos(int, Scalar, int) [with Scalar = double]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:194:21: required from here
194 | points[0] = combos(1, std::sqrt(9.0 * 1.0 / 70.0), dim);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:108:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
108 | for (size_t i = 0; i < choose_dimk; i++) {
| ~~^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:110:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
110 | for (size_t j = 0; j < k; j++) {
| ~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:141:17: required from 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]'
141 | p(c.array() - 1.0, current_col).setConstant(lambda);
| ~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:153:7: required from 'class Eigen::IndexedViewImpl<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange, Eigen::Dense>'
153 | class IndexedViewImpl
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:109:7: required from 'class Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::ArrayWrapper<Eigen::Matrix<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::internal::SingleRange>'
109 | class IndexedView : public IndexedViewImpl<XprType, RowIndices, ColIndices, typename internal::traits<XprType>::StorageKind>
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:141:6: required from 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]'
141 | p(c.array() - 1.0, current_col).setConstant(lambda);
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp: In instantiation of 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:149:22: warning: comparison of integer expressions of different signedness: 'int' and 'const std::size_t' {aka 'const long long unsigned int'} [-Wsign-compare]
149 | if (first_zero == index_size) {
| ~~~~~~~~~~~^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:153:7: required from 'class Eigen::IndexedViewImpl<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange, Eigen::Dense>'
153 | class IndexedViewImpl
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/IndexedView.h:109:7: required from 'class Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange>'
109 | class IndexedView : public IndexedViewImpl<XprType, RowIndices, ColIndices, typename internal::traits<XprType>::StorageKind>
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:151:10: required from 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]'
151 | p(c.segment(0, index.size()).array() - 1, current_col).array() *= -1;
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, int>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<int, -1, 1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::internal::SingleRange> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:151:69: required from 'Eigen::Matrix<Type, -1, -1> stan::math::internal::signcombos(int, Scalar, int) [with Scalar = double]'
151 | p(c.segment(0, index.size()).array() - 1, current_col).array() *= -1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/hcubature.hpp:197:25: required from here
197 | points[2] = signcombos(2, l3, dim);
| ~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:35: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 3>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 3, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Array.h:17:8: required from 'struct Eigen::internal::traits<Eigen::Array<double, 3, 1> >'
17 | struct traits<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > : traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Array<double, 3, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from 'class Eigen::Array<double, 3, 1>'
45 | class Array
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:26:41: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
26 | Eigen::Array<scalar_type_t<Ta>, 3, 1> a_array = as_array_or_scalar(a);
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<Ta, Tb, Tz>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:0: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Array<double, 3, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, 3, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, 3, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Array<double, 3, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Array<double, 3, 1> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Array<double, 3, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from 'class Eigen::Array<double, 3, 1>'
45 | class Array
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:26:41: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
26 | Eigen::Array<scalar_type_t<Ta>, 3, 1> a_array = as_array_or_scalar(a);
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<Ta, Tb, Tz>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:0: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:45:47: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
45 | const auto& abs_apk = math::fabs((a_array == 0).select(1.0, a_array));
| ~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<Ta, Tb, Tz>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:0: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Select.h:52:7: required from 'class Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >'
52 | class Select : public internal::dense_xpr_base< Select<ConditionMatrixType, ThenMatrixType, ElseMatrixType> >::type,
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:45:59: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
45 | const auto& abs_apk = math::fabs((a_array == 0).select(1.0, a_array));
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<Ta, Tb, Tz>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:0: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/fabs.hpp:69:70: required from 'stan::math::fabs<const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >(const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >&&)::<lambda(auto:19&&)> [with auto:19 = const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >&]'
69 | std::forward<Container>(x), [](auto&& v) { return v.array().abs(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:58:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::fabs<const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >(const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >&&)::<lambda(auto:19&&)>; T2 = const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >; stan::require_t<stan::is_eigen_array<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >]'
58 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/fabs.hpp:68:46: required from 'auto stan::math::fabs(Container&&) [with Container = const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
68 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
69 | std::forward<Container>(x), [](auto&& v) { return v.array().abs(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:45:37: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
45 | const auto& abs_apk = math::fabs((a_array == 0).select(1.0, a_array));
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<Ta, Tb, Tz>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:0: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&>(const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&)::<lambda(auto:51&&)> [with auto:51 = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:58:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&>(const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&)::<lambda(auto:51&&)>; T2 = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&; stan::require_t<stan::is_eigen_array<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&]'
58 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Select<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::Array<double, 3, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> > >, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, 3, 1> >, Eigen::Array<double, 3, 1> > >&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:47:21: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
47 | auto p = sum(log(abs_apk)) - sum(log(abs_bpk));
| ~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<Ta, Tb, Tz>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:0: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:75: required from 'stan::return_type_t<T> stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t<T>* <anonymous> = 0; stan::return_type_t<T> = double]'
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:0: required from here
16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {}
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:32: required from 'stan::return_type_t<T> stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t<T>* <anonymous> = 0; stan::return_type_t<T> = double]'
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:0: required from here
16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {}
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)> [with auto:12 = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1, 0, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> > > >}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = <missing>]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:64:23: required from 'static auto stan::math::apply_scalar_unary<F, T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp2>::type>::value, void>::type>::apply(TT&&) [with TT = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; F = stan::math::lgamma_fun; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >]'
64 | return make_holder(
| ~~~~~~~~~~~^
65 | [](auto&& xx) {
| ~~~~~~~~~~~~~~~
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~~
70 | },
| ~~
71 | std::forward<TT>(x));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:79:38: required from 'struct stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>'
79 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:121:50: required from 'auto stan::math::lgamma(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
121 | return apply_scalar_unary<lgamma_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:29: required from 'stan::return_type_t<T> stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t<T>* <anonymous> = 0; stan::return_type_t<T> = double]'
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:0: required from here
16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {}
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: required from 'auto stan::math::make_holder(F&&, Args&& ...) [with F = apply_scalar_unary<lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:12&&)>; Args = {const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1, 0, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> > > >}; stan::require_not_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
438 | return internal::make_holder_impl(std::forward<F>(func),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
439 | std::make_index_sequence<sizeof...(Args)>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440 | std::forward<Args>(args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:64:23: required from 'static auto stan::math::apply_scalar_unary<F, T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp2>::type>::value, void>::type>::apply(TT&&) [with TT = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; F = stan::math::lgamma_fun; T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >]'
64 | return make_holder(
| ~~~~~~~~~~~^
65 | [](auto&& xx) {
| ~~~~~~~~~~~~~~~
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~~
70 | },
| ~~
71 | std::forward<TT>(x));
| ~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:79:38: required from 'struct stan::math::apply_scalar_unary<stan::math::lgamma_fun, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>'
79 | apply_scalar_unary<F, T>::apply(std::declval<T>()))>;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lgamma.hpp:121:50: required from 'auto stan::math::lgamma(T&&) [with T = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::linspaced_op<double>, Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
121 | return apply_scalar_unary<lgamma_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/lmgamma.hpp:58:29: required from 'stan::return_type_t<T> stan::math::lmgamma(int, T) [with T = double; stan::require_arithmetic_t<T>* <anonymous> = 0; stan::return_type_t<T> = double]'
58 | return result + sum(lgamma(x + (1 - Eigen::ArrayXd::LinSpaced(k, 1, k)) / 2));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/lmgamma.hpp:16:0: required from here
16 | : op_dv_vari(lmgamma(a, bvi->val_), a, bvi) {}
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:98:40: required from 'typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::MatrixBase<Derived>::squaredNorm() const [with Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
98 | return numext::real((*this).cwiseAbs2().sum());
| ~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:29:0: required from here
29 | double variance = diff.squaredNorm() / size_m1;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Array<double, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, -1, -1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Array<double, -1, -1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Array<double, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::Array<double, -1, -1> >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Array<double, -1, -1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Array.h:45:7: required from 'class Eigen::Array<double, -1, -1>'
45 | class Array
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/SelfCwiseBinaryOp.h:27:67: required from 'Derived& Eigen::ArrayBase<Derived>::operator+=(const Scalar&) [with Derived = Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >; Scalar = double]'
27 | internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::add_assign_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:280:0: required from here
280 | L_chol_.array() += scalar;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, -1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/SelfCwiseBinaryOp.h:27:67: required from 'Derived& Eigen::ArrayBase<Derived>::operator+=(const Scalar&) [with Derived = Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >; Scalar = double]'
27 | internal::call_assignment(this->derived(), PlainObject::Constant(rows(),cols(),other), internal::add_assign_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:280:0: required from here
280 | L_chol_.array() += scalar;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp: In instantiation of 'std::vector<long long unsigned int> stan::io::array_var_context::validate_dims(const std::vector<std::__cxx11::basic_string<char> >&, T, const std::vector<std::vector<long long unsigned int> >&) [with T = long long unsigned int]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp:97:0: required from here
97 | std::vector<size_t> dim_vec = validate_dims(names, values.size(), dims);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp:74: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long unsigned int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
74 | for (int i = 0; i < dims.size(); i++) {
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp: In instantiation of 'std::vector<long long unsigned int> stan::io::array_var_context::validate_dims(const std::vector<std::__cxx11::basic_string<char> >&, T, const std::vector<std::vector<long long unsigned int> >&) [with T = long long int]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp:118:0: required from here
118 | std::vector<size_t> dim_vec = validate_dims(names, values.size(), dims);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp:74: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long unsigned int> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
74 | for (int i = 0; i < dims.size(); i++) {
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/BooleanRedux.h:156:22: required from 'bool Eigen::DenseBase<Derived>::allFinite() const [with Derived = Eigen::Matrix<double, -1, -1>]'
156 | return !((derived()-derived()).hasNaN());
| ~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:31:0: required from here
31 | if (!covar.allFinite())
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::internal::member_sum<double, double>, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::internal::member_sum<double, double>, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::internal::member_sum<double, double>, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from 'class Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::internal::member_sum<double, double>, 1>'
56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rows_dot_product.hpp:30:45: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, Mat1::RowsAtCompileTime, 1> stan::math::rows_dot_product(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_eigen_vt<stan::is_var, Mat1, Mat2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
30 | return (v1.cwiseProduct(v2)).rowwise().sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:1681:0: required from here
1681 | stan::math::rows_dot_product(price_j, quant_j))),
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp: In instantiation of 'SEXPREC* rstan::stan_fit<Model, RNG_t>::standalone_gqs(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]':
stanExports_mdcev.cc:30:0: required from here
30 | .method("standalone_gqs", &rstan::stan_fit<stan_model, stan::rng_t> ::standalone_gqs)
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1252: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1252 | int ret = stan::services::error_codes::CONFIG;
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err.hpp:6,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/acosh.hpp:5,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun.hpp:7,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint.hpp:4,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim.hpp:11:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp: In instantiation of 'static void stan::math::internal::bounded<T_y, T_low, T_high, y_is_vec>::check(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = double; T_low = int; T_high = int; bool y_is_vec = false]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:75: required from 'void stan::math::check_bounded(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = double; T_low = int; T_high = int]'
80 | internal::bounded<T_y, T_low, T_high, is_vector_like<T_y>::value>::check(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
81 | function, name, y, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv_Phi.hpp:32:16: required from here
32 | check_bounded("inv_Phi", "Probability variable", p, 0, 1);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:30:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
30 | for (size_t n = 0; n < max_size(low, high); n++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp: In instantiation of 'static void stan::math::internal::bounded<T_y, T_low, T_high, y_is_vec>::check(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = int; T_low = int; T_high = int; bool y_is_vec = false]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:75: required from 'void stan::math::check_bounded(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = int; T_low = int; T_high = int]'
80 | internal::bounded<T_y, T_low, T_high, is_vector_like<T_y>::value>::check(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
81 | function, name, y, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/one_hot_array.hpp:23:16: required from here
23 | check_bounded(function, "k", k, 1, K);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:30:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
30 | for (size_t n = 0; n < max_size(low, high); n++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:102:38: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const ColVec&, const Scal&) [with ColVec = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Scal = double; stan::require_t<stan::is_eigen_col_vector<T> >* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
102 | result << A.template cast<T_return>(), B;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:28:19: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
28 | = append_row(as_array_or_scalar(b), 1.0);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<Ta, Tb, Tz>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:0: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:5,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_2F1_converges.hpp:5,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err.hpp:4:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan<Eigen::Matrix<double, -1, 1> >(const char*, const char*, const Eigen::Matrix<double, -1, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, -1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from 'void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, -1, 1>]'
28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | "not nan");
| ~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:47:0: required from here
47 | stan::math::check_not_nan(function, "Mean vector", mu);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, -1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan<Eigen::Matrix<double, -1, -1> >(const char*, const char*, const Eigen::Matrix<double, -1, -1>&)::<lambda(double)>; T = Eigen::Matrix<double, -1, -1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)(((!(Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit)) && (! T::IsVectorAtCompileTime)) && (!(Eigen::internal::traits<_Rhs>::Flags & Eigen::RowMajorBit))))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from 'void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, -1, -1>]'
28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | "not nan");
| ~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/variational/families/normal_fullrank.hpp:74:0: required from here
74 | stan::math::check_not_nan(function, "Cholesky factor", L_chol);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:207:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::Index' {aka 'long long int'} [-Wsign-compare]
207 | for (size_t i = 0; i < x.rows(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:208:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::Index' {aka 'long long int'} [-Wsign-compare]
208 | for (size_t j = 0; j < x.cols(); j++) {
| ~~^~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta.hpp:70,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/core.hpp:4,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/abs.hpp:4,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun.hpp:4:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_less_or_equal.hpp: In instantiation of 'void stan::math::check_less_or_equal(const char*, const char*, const T_y&, const T_high&, Idxs ...) [with T_y = long long unsigned int; T_high = long long int; stan::require_all_stan_scalar_t<U, V>* <anonymous> = 0; Idxs = {}]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp:79:0: required from 'std::vector<long long unsigned int> stan::io::array_var_context::validate_dims(const std::vector<std::__cxx11::basic_string<char> >&, T, const std::vector<std::vector<long long unsigned int> >&) [with T = long long int]'
79 | stan::math::check_less_or_equal("validate_dims", "array_var_context",
80 | elem_dims_total[dims.size()], array_size);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/array_var_context.hpp:118:0: required from here
118 | std::vector<size_t> dim_vec = validate_dims(names, values.size(), dims);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_less_or_equal.hpp:39:20: warning: comparison of integer expressions of different signedness: 'const long long unsigned int' and 'const long long int' [-Wsign-compare]
39 | if (unlikely(!(y <= high))) {
| ~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/compiler_attributes.hpp:9:41: note: in definition of macro 'unlikely'
9 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_finite<Eigen::Matrix<double, -1, 1> >(const char*, const char*, const Eigen::Matrix<double, -1, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, -1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_finite.hpp:29:20: required from 'void stan::math::check_finite(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, -1, 1>]'
29 | elementwise_check([](double x) { return std::isfinite(x); }, function, name,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | y, "finite");
| ~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_diag_inv_metric.hpp:21:0: required from here
21 | stan::math::check_finite("check_finite", "inv_metric", inv_metric);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, -1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_positive<Eigen::Matrix<double, -1, 1> >(const char*, const char*, const Eigen::Matrix<double, -1, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, -1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_positive.hpp:29:20: required from 'void stan::math::check_positive(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, -1, 1>]'
29 | elementwise_check([](double x) { return x > 0; }, function, name, y,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | "positive");
| ~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_diag_inv_metric.hpp:22:0: required from here
22 | stan::math::check_positive("check_positive", "inv_metric", inv_metric);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, -1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/BooleanRedux.h:142:28: required from 'bool Eigen::DenseBase<Derived>::hasNaN() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Matrix<double, -1, -1> >]'
142 | return !((derived().array()==derived().array()).all());
| ~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/BooleanRedux.h:156:40: required from 'bool Eigen::DenseBase<Derived>::allFinite() const [with Derived = Eigen::Matrix<double, -1, -1>]'
156 | return !((derived()-derived()).hasNaN());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/covar_adaptation.hpp:31:0: required from here
31 | if (!covar.allFinite())
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/BooleanRedux.h:142:28: required from 'bool Eigen::DenseBase<Derived>::hasNaN() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >]'
142 | return !((derived().array()==derived().array()).all());
| ~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/BooleanRedux.h:156:40: required from 'bool Eigen::DenseBase<Derived>::allFinite() const [with Derived = Eigen::Matrix<double, -1, 1>]'
156 | return !((derived()-derived()).hasNaN());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/mcmc/var_adaptation.hpp:30:0: required from here
30 | if (!var.allFinite())
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:37:44: required from 'static Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::ResScalar Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Matrix<double, -1, 1>; U = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; bool NeedToTranspose = false; ResScalar = double]'
37 | return a.template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Matrix<double, -1, 1>; Vec2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_vector_t<EigVec1, EigVec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
stanExports_mdcev.h:2865:0: required from here
2865 | sum_log_lik = stan::math::dot_product(log_like, weights);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:21: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, 1>; Scal = int; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:37:29: required from 'auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
37 | return eval(log(subtract(std::forward<decltype(y_ref)>(y_ref),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | std::forward<decltype(lb_ref)>(lb_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:86:31: required from 'auto stan::math::lb_free(std::vector<T>, const L&) [with T = Eigen::Matrix<double, -1, 1>; L = int; stan::require_not_std_vector_t<T_high>* <anonymous> = 0]'
86 | std::vector<decltype(lb_free(y[0], lb_ref))> ret(y.size());
| ~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:254:0: required from 'void stan::io::serializer<T>::write_free_lb(const L&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; T = double]'
254 | this->write(stan::math::lb_free(x, lb));
stanExports_mdcev.h:3067:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3067 | out__.write_free_lb(0, gamma);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:32: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, 1>; Scal = int; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:37:29: required from 'auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
37 | return eval(log(subtract(std::forward<decltype(y_ref)>(y_ref),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | std::forward<decltype(lb_ref)>(lb_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:86:31: required from 'auto stan::math::lb_free(std::vector<T>, const L&) [with T = Eigen::Matrix<double, -1, 1>; L = int; stan::require_not_std_vector_t<T_high>* <anonymous> = 0]'
86 | std::vector<decltype(lb_free(y[0], lb_ref))> ret(y.size());
| ~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:254:0: required from 'void stan::io::serializer<T>::write_free_lb(const L&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; T = double]'
254 | this->write(stan::math::lb_free(x, lb));
stanExports_mdcev.h:3067:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3067 | out__.write_free_lb(0, gamma);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:51&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:37:20: required from 'auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
37 | return eval(log(subtract(std::forward<decltype(y_ref)>(y_ref),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | std::forward<decltype(lb_ref)>(lb_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:86:31: required from 'auto stan::math::lb_free(std::vector<T>, const L&) [with T = Eigen::Matrix<double, -1, 1>; L = int; stan::require_not_std_vector_t<T_high>* <anonymous> = 0]'
86 | std::vector<decltype(lb_free(y[0], lb_ref))> ret(y.size());
| ~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:254:0: required from 'void stan::io::serializer<T>::write_free_lb(const L&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; T = double]'
254 | this->write(stan::math::lb_free(x, lb));
stanExports_mdcev.h:3067:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3067 | out__.write_free_lb(0, gamma);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:37:20: required from 'auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
37 | return eval(log(subtract(std::forward<decltype(y_ref)>(y_ref),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | std::forward<decltype(lb_ref)>(lb_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:86:31: required from 'auto stan::math::lb_free(std::vector<T>, const L&) [with T = Eigen::Matrix<double, -1, 1>; L = int; stan::require_not_std_vector_t<T_high>* <anonymous> = 0]'
86 | std::vector<decltype(lb_free(y[0], lb_ref))> ret(y.size());
| ~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:254:0: required from 'void stan::io::serializer<T>::write_free_lb(const L&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; T = double]'
254 | this->write(stan::math::lb_free(x, lb));
stanExports_mdcev.h:3067:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3067 | out__.write_free_lb(0, gamma);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:51&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:51&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:37:20: required from 'auto stan::math::lb_free(T&&, L&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
37 | return eval(log(subtract(std::forward<decltype(y_ref)>(y_ref),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | std::forward<decltype(lb_ref)>(lb_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_free.hpp:86:31: required from 'auto stan::math::lb_free(std::vector<T>, const L&) [with T = Eigen::Matrix<double, -1, 1>; L = int; stan::require_not_std_vector_t<T_high>* <anonymous> = 0]'
86 | std::vector<decltype(lb_free(y[0], lb_ref))> ret(y.size());
| ~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:254:0: required from 'void stan::io::serializer<T>::write_free_lb(const L&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; T = double]'
254 | this->write(stan::math::lb_free(x, lb));
stanExports_mdcev.h:3067:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3067 | out__.write_free_lb(0, gamma);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:62:13: required from 'auto stan::math::subtract(Scal, const Mat&) [with Scal = int; Mat = Eigen::Matrix<double, -1, 1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
62 | return (c - m.array()).matrix();
| ~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/ub_free.hpp:43:29: required from 'auto stan::math::ub_free(T&&, U&&) [with T = Eigen::Matrix<double, -1, 1>; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
43 | return eval(log(subtract(std::forward<decltype(ub_ref)>(ub_ref),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 | std::forward<decltype(y_ref)>(y_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:54:19: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
54 | return ub_free(identity_free(y, lb), ub);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:62:32: required from 'auto stan::math::subtract(Scal, const Mat&) [with Scal = int; Mat = Eigen::Matrix<double, -1, 1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
62 | return (c - m.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/ub_free.hpp:43:29: required from 'auto stan::math::ub_free(T&&, U&&) [with T = Eigen::Matrix<double, -1, 1>; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
43 | return eval(log(subtract(std::forward<decltype(ub_ref)>(ub_ref),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 | std::forward<decltype(y_ref)>(y_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:54:19: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
54 | return ub_free(identity_free(y, lb), ub);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/ub_free.hpp:43:20: required from 'auto stan::math::ub_free(T&&, U&&) [with T = Eigen::Matrix<double, -1, 1>; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
43 | return eval(log(subtract(std::forward<decltype(ub_ref)>(ub_ref),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 | std::forward<decltype(y_ref)>(y_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:54:19: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
54 | return ub_free(identity_free(y, lb), ub);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/ub_free.hpp:43:20: required from 'auto stan::math::ub_free(T&&, U&&) [with T = Eigen::Matrix<double, -1, 1>; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
43 | return eval(log(subtract(std::forward<decltype(ub_ref)>(ub_ref),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 | std::forward<decltype(y_ref)>(y_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:54:19: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
54 | return ub_free(identity_free(y, lb), ub);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/ub_free.hpp:43:20: required from 'auto stan::math::ub_free(T&&, U&&) [with T = Eigen::Matrix<double, -1, 1>; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
43 | return eval(log(subtract(std::forward<decltype(ub_ref)>(ub_ref),
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44 | std::forward<decltype(y_ref)>(y_ref))));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:54:19: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
54 | return ub_free(identity_free(y, lb), ub);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:50:17: required from 'stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&, double&&)::<lambda(auto:272&&, auto:273&&)> [with auto:272 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; auto:273 = double]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; T2 = double; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:29: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:51:20: required from 'stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&, double&&)::<lambda(auto:272&&, auto:273&&)> [with auto:272 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; auto:273 = double]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::divide<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, double>(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >&&, double&&)::<lambda(auto:272&&, auto:273&&)>; _Args = {Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> > > >&&, double&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; T2 = double; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:29: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; long long unsigned int ...Is = {0}; Args = {double}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:47:21: required from 'auto stan::math::divide(T1&&, T2&&) [with T1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >; T2 = double; stan::require_any_eigen_t<T1, T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
47 | return make_holder(
| ~~~~~~~~~~~^
48 | [](auto&& m_, auto&& c_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~~~~
52 | },
| ~~
53 | std::forward<T1>(m), std::forward<T2>(c));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:29: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:113:51: required from 'stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)> [with auto:344 = Eigen::Matrix<double, -1, 1>&]'
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:109:21: required from 'auto stan::math::logit(Container&&) [with Container = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
109 | return make_holder(
| ~~~~~~~~~~~^
110 | [](auto&& v_ref) {
| ~~~~~~~~~~~~~~~~~~
111 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | std::forward<decltype(v_ref)>(v_ref),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | },
| ~~
115 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:22: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:113:46: required from 'stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)> [with auto:344 = Eigen::Matrix<double, -1, 1>&]'
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:109:21: required from 'auto stan::math::logit(Container&&) [with Container = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
109 | return make_holder(
| ~~~~~~~~~~~^
110 | [](auto&& v_ref) {
| ~~~~~~~~~~~~~~~~~~
111 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | std::forward<decltype(v_ref)>(v_ref),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | },
| ~~
115 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:22: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:113:68: required from 'stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)> [with auto:344 = Eigen::Matrix<double, -1, 1>&]'
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:109:21: required from 'auto stan::math::logit(Container&&) [with Container = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
109 | return make_holder(
| ~~~~~~~~~~~^
110 | [](auto&& v_ref) {
| ~~~~~~~~~~~~~~~~~~
111 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | std::forward<decltype(v_ref)>(v_ref),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | },
| ~~
115 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:22: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:109:21: required from 'auto stan::math::logit(Container&&) [with Container = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
109 | return make_holder(
| ~~~~~~~~~~~^
110 | [](auto&& v_ref) {
| ~~~~~~~~~~~~~~~~~~
111 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | std::forward<decltype(v_ref)>(v_ref),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | },
| ~~
115 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:22: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>&&)::<lambda(auto:16&&)> [with auto:16 = stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>&&)::<lambda(auto:16&&)>; _Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:109:21: required from 'auto stan::math::logit(Container&&) [with Container = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
109 | return make_holder(
| ~~~~~~~~~~~^
110 | [](auto&& v_ref) {
| ~~~~~~~~~~~~~~~~~~
111 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | std::forward<decltype(v_ref)>(v_ref),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | },
| ~~
115 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:22: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >, stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>, Eigen::Matrix<double, -1, 1> >(Eigen::Matrix<double, -1, 1>&&, stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>&&)::<lambda(auto:16&&)>; long long unsigned int ...Is = {0}; Args = {stan::math::Holder<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:109:21: required from 'auto stan::math::logit(Container&&) [with Container = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
109 | return make_holder(
| ~~~~~~~~~~~^
110 | [](auto&& v_ref) {
| ~~~~~~~~~~~~~~~~~~
111 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | std::forward<decltype(v_ref)>(v_ref),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | },
| ~~
115 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:22: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>, void>::apply<stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::logit<Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double> >(Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>&&)::<lambda(auto:343&&)>::<lambda(auto:344&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:109:21: required from 'auto stan::math::logit(Container&&) [with Container = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
109 | return make_holder(
| ~~~~~~~~~~~^
110 | [](auto&& v_ref) {
| ~~~~~~~~~~~~~~~~~~
111 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | std::forward<decltype(v_ref)>(v_ref),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | },
| ~~
115 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:22: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1> >'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > > >; long long unsigned int ...Is = {0}; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/logit.hpp:109:21: required from 'auto stan::math::logit(Container&&) [with Container = Holder<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, double>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
109 | return make_holder(
| ~~~~~~~~~~~^
110 | [](auto&& v_ref) {
| ~~~~~~~~~~~~~~~~~~
111 | return apply_vector_unary<ref_type_t<Container>>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | std::forward<decltype(v_ref)>(v_ref),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | [](auto&& v) { return (v.array() / (1 - v.array())).log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | },
| ~~
115 | to_ref(std::forward<Container>(x)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:59:22: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
59 | return eval(logit(divide(subtract(std::forward<decltype(y_ref)>(y_ref), lb),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | subtract(ub, lb))));
| ~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint.hpp:23:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp: In instantiation of 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:133:30: warning: comparison of integer expressions of different signedness: 'Eigen::Index' {aka 'long long int'} and 'std::vector<Eigen::Matrix<double, -1, 1> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
133 | for (Eigen::Index i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:68:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp: In instantiation of 'int stan::services::standalone_generate(const Model&, const Eigen::MatrixXd&, unsigned int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; Eigen::MatrixXd = Eigen::Matrix<double, -1, -1>]':
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1253:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::standalone_gqs(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1253 | ret = stan::services::standalone_generate(model_, draws,
1254 | Rcpp::as<unsigned int>(seed), interrupt, logger, *sample_writer_ptr);
stanExports_mdcev.cc:30:0: required from here
30 | .method("standalone_gqs", &rstan::stan_fit<stan_model, stan::rng_t> ::standalone_gqs)
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:55: warning: comparison of integer expressions of different signedness: 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} and 'Eigen::Index' {aka 'long long int'} [-Wsign-compare]
55 | if (p_names.size() != draws.cols()) {
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/sample/standalone_gqs.hpp:73: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::Index' {aka 'long long int'} [-Wsign-compare]
73 | for (size_t i = 0; i < draws.rows(); ++i) {
In file included from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/concept/assert.hpp:35,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/concept_check.hpp:20,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/range/concepts.hpp:19,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/range/size_type.hpp:20,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/range/size.hpp:21,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/range/functions.hpp:20,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/range.hpp:18,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/numeric/odeint/util/resize.hpp:24:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::constraint<Model>::failed() [with Model = boost::algorithm::FinderConcept<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char> >, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]':
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/iter_find.hpp:81:0: required from 'SequenceSequenceT& boost::algorithm::iter_split(SequenceSequenceT&, RangeT&&, FinderT) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>&; FinderT = detail::token_finderF<detail::is_any_ofF<char> >]'
92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/split.hpp:158:0: required from 'SequenceSequenceT& boost::algorithm::split(SequenceSequenceT&, RangeT&&, PredicateT, token_compress_mode_type) [with SequenceSequenceT = std::vector<std::__cxx11::basic_string<char> >; RangeT = std::__cxx11::basic_string<char>&; PredicateT = detail::is_any_ofF<char>]'
158 | return ::boost::algorithm::iter_split(
159 | Result,
160 | Input,
161 | ::boost::algorithm::token_finder( Pred, eCompress ) );
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:19:0: required from here
19 | boost::split(parts, variable, boost::is_any_of(":"));
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/concept/detail/general.hpp:65:52: warning: 'this' pointer is null [-Wnonnull]
65 | static void failed() { ((Model*)0)->constraints(); }
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/iter_find.hpp:26,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/split.hpp:16,
from D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string.hpp:23,
from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:4,
from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:46:
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/concept.hpp:40: note: in a call to non-static member function 'void boost::algorithm::FinderConcept<FinderT, IteratorT>::constraints() [with FinderT = boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char> >; IteratorT = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]'
40 | void constraints()
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::constraint<Model>::failed() [with Model = boost::algorithm::FinderConcept<boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_equal>, __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]':
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/find_format.hpp:98:0: required from 'void boost::algorithm::find_format(SequenceT&, FinderT, FormatterT) [with SequenceT = std::__cxx11::basic_string<char>; FinderT = detail::first_finderF<const char*, is_equal>; FormatterT = detail::const_formatF<boost::iterator_range<const char*> >]'
92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/replace.hpp:179:0: required from 'void boost::algorithm::replace_first(SequenceT&, const Range1T&, const Range2T&) [with SequenceT = std::__cxx11::basic_string<char>; Range1T = char [11]; Range2T = char [1]]'
179 | ::boost::algorithm::find_format(
180 | Input,
181 | ::boost::algorithm::first_finder(Search),
182 | ::boost::algorithm::const_formatter(Format) );
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:132:0: required from here
132 | boost::replace_first(value, " (Default)", "");
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/concept/detail/general.hpp:65:52: warning: 'this' pointer is null [-Wnonnull]
65 | static void failed() { ((Model*)0)->constraints(); }
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/concept.hpp:40: note: in a call to non-static member function 'void boost::algorithm::FinderConcept<FinderT, IteratorT>::constraints() [with FinderT = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_equal>; IteratorT = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]'
40 | void constraints()
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/concept/detail/general.hpp: In instantiation of 'static void boost::concepts::constraint<Model>::failed() [with Model = boost::algorithm::FormatterConcept<boost::algorithm::detail::const_formatF<boost::iterator_range<const char*> >, boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_equal>, __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]':
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/find_format.hpp:103:0: required from 'void boost::algorithm::find_format(SequenceT&, FinderT, FormatterT) [with SequenceT = std::__cxx11::basic_string<char>; FinderT = detail::first_finderF<const char*, is_equal>; FormatterT = detail::const_formatF<boost::iterator_range<const char*> >]'
92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/replace.hpp:179:0: required from 'void boost::algorithm::replace_first(SequenceT&, const Range1T&, const Range2T&) [with SequenceT = std::__cxx11::basic_string<char>; Range1T = char [11]; Range2T = char [1]]'
179 | ::boost::algorithm::find_format(
180 | Input,
181 | ::boost::algorithm::first_finder(Search),
182 | ::boost::algorithm::const_formatter(Format) );
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/stan_csv_reader.hpp:132:0: required from here
132 | boost::replace_first(value, " (Default)", "");
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/concept/detail/general.hpp:65:52: warning: 'this' pointer is null [-Wnonnull]
65 | static void failed() { ((Model*)0)->constraints(); }
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/BH/include/boost/algorithm/string/concept.hpp:65: note: in a call to non-static member function 'void boost::algorithm::FormatterConcept<FormatterT, FinderT, IteratorT>::constraints() [with FormatterT = boost::algorithm::detail::const_formatF<boost::iterator_range<const char*> >; FinderT = boost::algorithm::detail::first_finderF<const char*, boost::algorithm::is_equal>; IteratorT = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]'
65 | void constraints()
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp: In instantiation of 'static void stan::math::internal::bounded<T_y, T_low, T_high, y_is_vec>::check(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = double; T_low = double; T_high = double; bool y_is_vec = false]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:75: required from 'void stan::math::check_bounded(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = double; T_low = double; T_high = double]'
80 | internal::bounded<T_y, T_low, T_high, is_vector_like<T_y>::value>::check(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
81 | function, name, y, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/atanh.hpp:32:18: required from 'double stan::math::atanh(T&&) [with T = const double&; stan::require_arithmetic_t<T>* <anonymous> = 0]'
32 | check_bounded("atanh", "x", x, -1.0, 1.0);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/atanh.hpp:59:0: required from here
59 | return make_callback_var(atanh(x.val()), [x](const auto& vi) mutable {
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:30:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
30 | for (size_t n = 0; n < max_size(low, high); n++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 2>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 2, 1> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 2, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 2, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:182:31: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
182 | Eigen::Matrix<double, 2, 1> a_args(2);
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 2, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 2, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 2, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 2, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:182:31: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
182 | Eigen::Matrix<double, 2, 1> a_args(2);
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 1, 1, 0, 1, 1>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:183:31: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
183 | Eigen::Matrix<double, 1, 1> b_args(1);
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Array<double, 3, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:118:39: required from 'TupleT stan::math::internal::grad_2F1_impl_ab(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double>]'
118 | inner_diff = g_current.array().abs().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:206:78: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
206 | grad_tuple_ab = grad_2F1_impl_ab<calc_a1_euler, calc_a2_euler, calc_b1>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
207 | a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:563:19: required from 'Eigen::ComputationInfo Eigen::internal::computeFromTridiagonal_impl(DiagType&, SubDiagType&, Eigen::Index, bool, MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagType = Eigen::Matrix<double, -1, 1>; SubDiagType = Eigen::Matrix<double, -1, 1>; Eigen::Index = long long int]'
563 | diag.segment(i,n-i).minCoeff(&k);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:460:49: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
460 | m_info = internal::computeFromTridiagonal_impl(diag, m_subdiag, m_maxIterations, computeEigenvectors, m_eivec);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:54:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/newton.hpp: In instantiation of 'int stan::services::optimize::newton(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]':
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:502:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
502 | = stan::services::optimize::newton(model, *init_context_ptr,
503 | random_seed, id, init_radius,
504 | num_iterations,
505 | save_iterations,
506 | interrupt, logger,
507 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/newton.hpp:98: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
98 | int ret = 0;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseUnaryOp<scalar_exp_op<double>, const Eigen::CwiseBinaryOp<scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:58: required from 'stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)> [with auto:334 = Eigen::Matrix<double, -1, 1>&]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2671:12: required from 'struct std::__invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
2671 | struct __invoke_result
| ^~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:3158:12: required from 'struct std::invoke_result<stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>&>'
3158 | struct invoke_result
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:138:71: required by substitution of 'template<class F, class ... Args, stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> > auto stan::math::make_holder(F&&, Args&& ...) [with F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; Args = {Eigen::Matrix<double, -1, 1, 0, -1, 1>&}; stan::require_plain_type_t<typename std::invoke_result<F, Args&& ...>::type>* <anonymous> = 0]'
138 | require_plain_type_t<std::invoke_result_t<F, Args&&...>>* = nullptr>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:104:23: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::reduce(T2&&, F&&) [with T2 = Eigen::Matrix<double, -1, 1>&; F = stan::math::log_sum_exp<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:334&&)>; T = Eigen::Matrix<double, -1, 1>&]'
104 | return make_holder(std::forward<F>(f), std::forward<T2>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<double, -1, 1>&; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/dirichlet_rng.hpp:59:35: required from here
59 | double log_sum_y = log_sum_exp(log_y);
| ~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:330:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'class Eigen::internal::gebp_traits<double, double, false, false, 1, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:72:102: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
72 | typedef blas_data_mapper<typename Traits::ResScalar, Index, ColMajor, Unaligned, ResInnerStride> ResMapper;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
433 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
434 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
435 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
460 | typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
461 | typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
462 | typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
465 | typedef QuadPacket<RhsPacket> RhsPacketx4;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'class Eigen::internal::gebp_traits<double, double, false, false, 1, 1>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1080:42: required from 'struct Eigen::internal::gebp_kernel<double, double, long long int, Eigen::internal::blas_data_mapper<double, long long int, 0, 0, 1>, 4, 4, false, false>'
1080 | typedef typename HalfTraits::LhsPacket LhsPacketHalf;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:92:109: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
92 | gebp_kernel<LhsScalar, RhsScalar, Index, ResMapper, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
433 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
434 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
435 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
460 | typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
461 | typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
462 | typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
465 | typedef QuadPacket<RhsPacket> RhsPacketx4;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'class Eigen::internal::gebp_traits<double, double, false, false, 1, 2>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1085:45: required from 'struct Eigen::internal::gebp_kernel<double, double, long long int, Eigen::internal::blas_data_mapper<double, long long int, 0, 0, 1>, 4, 4, false, false>'
1085 | typedef typename QuarterTraits::LhsPacket LhsPacketQuarter;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:92:109: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
92 | gebp_kernel<LhsScalar, RhsScalar, Index, ResMapper, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:425:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
425 | PACKET_DECL_COND_PREFIX(_, Lhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:426:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
426 | PACKET_DECL_COND_PREFIX(_, Rhs, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:427:27: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
427 | PACKET_DECL_COND_PREFIX(_, Res, _PacketSize);
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:384:3: note: in definition of macro 'PACKET_DECL_COND_PREFIX'
384 | prefix ## name ## Packet
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:49: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
432 | Vectorizable = unpacket_traits<_LhsPacket>::vectorizable && unpacket_traits<_RhsPacket>::vectorizable,
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:432:94: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
433 | LhsPacketSize = Vectorizable ? unpacket_traits<_LhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:433:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
434 | RhsPacketSize = Vectorizable ? unpacket_traits<_RhsPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:434:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
435 | ResPacketSize = Vectorizable ? unpacket_traits<_ResPacket>::size : 1,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:435:65: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
460 | typedef typename conditional<Vectorizable,_LhsPacket,LhsScalar>::type LhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:460:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
461 | typedef typename conditional<Vectorizable,_RhsPacket,RhsScalar>::type RhsPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:461:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
462 | typedef typename conditional<Vectorizable,_ResPacket,ResScalar>::type ResPacket;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:462:73: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
465 | typedef QuadPacket<RhsPacket> RhsPacketx4;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:465:33: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CommaInitializer.h:159:10: required from 'Eigen::CommaInitializer<Derived> Eigen::DenseBase<Derived>::operator<<(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Derived = Eigen::Matrix<double, -1, 1>]'
159 | return CommaInitializer<Derived>(*static_cast<Derived *>(this), other);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:102:10: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const ColVec&, const Scal&) [with ColVec = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >; Scal = double; stan::require_t<stan::is_eigen_col_vector<T> >* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
102 | result << A.template cast<T_return>(), B;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:28:19: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::internal::hypergeometric_3F2_infsum(const Ta&, const Tb&, const Tz&, double, int) [with Ta = Eigen::Matrix<double, -1, 1>; Tb = Eigen::Matrix<double, -1, 1>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
28 | = append_row(as_array_or_scalar(b), 1.0);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:128:47: required from 'auto stan::math::hypergeometric_3F2(const Ta&, const Tb&, const Tz&) [with Ta = std::vector<double>; Tb = std::vector<double>; Tz = double; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
128 | return internal::hypergeometric_3F2_infsum(a_ref, b_ref, z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_3F2.hpp:154:28: required from 'auto stan::math::hypergeometric_3F2(const std::initializer_list<_Tp>&, const std::initializer_list<_Value>&, const Tz&) [with Ta = double; Tb = double; Tz = double; stan::require_all_stan_scalar_t<Ta, Tb, Tz>* <anonymous> = 0]'
154 | return hypergeometric_3F2(std::vector<Ta>(a), std::vector<Tb>(b), z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inv_inc_beta.hpp:80:0: required from here
80 | + log(hypergeometric_3F2({a_val, a_val, one_m_b}, {ap1, ap1}, w))
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::Matrix<double, -1, 1>; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::Matrix<double, -1, 1>; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::Matrix<double, -1, 1> >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:478:32: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::mean() const [with Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
478 | return Scalar(derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>())) / Scalar(this->size());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:26:0: required from here
26 | vector_d diff = dtrs_vals.array() - dtrs_vals.mean();
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, -1>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, -1>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Diagonal.h:63:53: required from 'class Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, -1>'
63 | template<typename MatrixType, int _DiagIndex> class Diagonal
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:451:40: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
451 | subdiag = mat.template diagonal<-1>().real();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorBlock.h:56:47: required from 'class Eigen::VectorBlock<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, -1>'
56 | template<typename VectorType, int Size> class VectorBlock
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:514:101: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
514 | abs_col_sum = m_matrix.col(col).tail(size - col).template lpNorm<1>() + m_matrix.row(col).head(col).template lpNorm<1>();
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp: In instantiation of 'static void stan::math::internal::bounded<T_y, T_low, T_high, true>::check(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = Eigen::Matrix<double, -1, 1>; T_low = int; T_high = int]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:75: required from 'void stan::math::check_bounded(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = Eigen::Matrix<double, -1, 1>; T_low = int; T_high = int]'
80 | internal::bounded<T_y, T_low, T_high, is_vector_like<T_y>::value>::check(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
81 | function, name, y, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:57:18: required from 'auto stan::math::lub_free(T&&, L&&, U&&) [with T = const Eigen::Matrix<double, -1, 1>&; L = const int&; U = const int&; stan::require_not_std_vector_t<T_y>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0]'
57 | check_bounded("lub_free", "Bounded variable", value_of(y_ref), value_of(lb),
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58 | value_of(ub));
| ~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_free.hpp:132:32: required from 'auto stan::math::lub_free(std::vector<T>, const L&, const U&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; stan::require_all_not_std_vector_t<L, U>* <anonymous> = 0]'
132 | std::vector<decltype(lub_free(y[0], lb, ub))> ret(y.size());
| ~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/serializer.hpp:282:0: required from 'void stan::io::serializer<T>::write_free_lub(const L&, const U&, const S&) [with S = std::vector<Eigen::Matrix<double, -1, 1> >; L = int; U = int; T = double]'
282 | this->write(stan::math::lub_free(x, lb, ub));
stanExports_mdcev.h:3085:0: required from 'void model_mdcev_namespace::model_mdcev::transform_inits_impl(const stan::io::var_context&, VecVar&, std::ostream*) const [with VecVar = std::vector<double>; stan::require_vector_t<T_y>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
3085 | out__.write_free_lub(0, 1, alpha);
stanExports_mdcev.h:3363:0: required from here
3363 | transform_inits_impl(context, vars, pstream__);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:48:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
48 | for (size_t n = 0; n < stan::math::size(y); n++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs.hpp:184:0: required from 'int stan::optimization::BFGSMinimizer<FunctorType, QNUpdateType, Scalar, DimAtCompile>::step() [with FunctorType = stan::optimization::ModelAdaptor<model_mdcev_namespace::model_mdcev, false>; QNUpdateType = stan::optimization::BFGSUpdate_HInv<>; Scalar = double; int DimAtCompile = -1]'
184 | _pk.noalias() = -_gk;
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/bfgs.hpp:138:0: required from 'int stan::services::optimize::bfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
138 | ret = bfgs.step();
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:517:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
517 | = stan::services::optimize::bfgs(model, *init_context_ptr,
518 | random_seed, id, init_radius,
519 | init_alpha,
520 | tol_obj,
521 | tol_rel_obj,
522 | tol_grad,
523 | tol_rel_grad,
524 | tol_param,
525 | num_iterations,
526 | save_iterations,
527 | refresh,
528 | interrupt, logger,
529 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp: In instantiation of 'auto stan::io::deserializer<T>::read(Eigen::Index, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; Sizes = {int}; stan::require_std_vector_t<U>* <anonymous> = 0; stan::require_not_same_t<typename stan::value_type<TT, void>::type, T>* <anonymous> = 0; T = stan::math::var_value<double>; Eigen::Index = long long int]':
stanExports_mdcev.h:2207:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2206 | in__.template read<
2207 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>>(K, NPsi);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:337: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::Index' {aka 'long long int'} [-Wsign-compare]
337 | for (size_t i = 0; i < m; ++i) {
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lb_constrain.hpp:153:0: required from 'auto stan::math::lb_constrain(const T&, const L&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_any_st_var<Scalar, Mat>* <anonymous> = 0]'
153 | auto exp_x = to_arena(arena_x.val().array().exp());
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:186:49: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:385:0: required from 'auto stan::io::deserializer<T>::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
385 | return stan::math::lb_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
386 | lp);
stanExports_mdcev.h:2215:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2214 | in__.template read_constrain_lb<
2215 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2216 | lp__, K, Gamma);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lb_constrain.hpp:153:0: required from 'auto stan::math::lb_constrain(const T&, const L&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_any_st_var<Scalar, Mat>* <anonymous> = 0]'
153 | auto exp_x = to_arena(arena_x.val().array().exp());
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:186:49: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:385:0: required from 'auto stan::io::deserializer<T>::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
385 | return stan::math::lb_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
386 | lp);
stanExports_mdcev.h:2215:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2214 | in__.template read_constrain_lb<
2215 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2216 | lp__, K, Gamma);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lb_constrain.hpp:153:0: required from 'auto stan::math::lb_constrain(const T&, const L&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_any_st_var<Scalar, Mat>* <anonymous> = 0]'
153 | auto exp_x = to_arena(arena_x.val().array().exp());
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:186:49: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:385:0: required from 'auto stan::io::deserializer<T>::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
385 | return stan::math::lb_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
386 | lp);
stanExports_mdcev.h:2215:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2214 | in__.template read_constrain_lb<
2215 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2216 | lp__, K, Gamma);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lb_constrain.hpp:154:0: required from 'auto stan::math::lb_constrain(const T&, const L&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_any_st_var<Scalar, Mat>* <anonymous> = 0]'
154 | arena_t<ret_type> ret = exp_x + lb_val;
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:186:49: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:385:0: required from 'auto stan::io::deserializer<T>::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
385 | return stan::math::lb_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
386 | lp);
stanExports_mdcev.h:2215:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2214 | in__.template read_constrain_lb<
2215 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2216 | lp__, K, Gamma);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lb_constrain.hpp:156:0: required from 'auto stan::math::lb_constrain(const T&, const L&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_any_st_var<Scalar, Mat>* <anonymous> = 0]'
156 | arena_x.adj().array() += ret.adj().array() * exp_x;
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:186:49: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:385:0: required from 'auto stan::io::deserializer<T>::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
385 | return stan::math::lb_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
386 | lp);
stanExports_mdcev.h:2215:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2214 | in__.template read_constrain_lb<
2215 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2216 | lp__, K, Gamma);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lb_constrain.hpp:207:0: required from 'auto stan::math::lb_constrain(const T&, const L&, stan::return_type_t<T1, T2>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_any_st_var<Scalar, Mat>* <anonymous> = 0; stan::return_type_t<T1, T2> = var_value<double>]'
207 | arena_x.adj().array() += ret.adj().array() * exp_x + lp.adj();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:188:26: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:385:0: required from 'auto stan::io::deserializer<T>::read_constrain_lb(const LB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
385 | return stan::math::lb_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
386 | lp);
stanExports_mdcev.h:2215:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2214 | in__.template read_constrain_lb<
2215 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2216 | lp__, K, Gamma);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/ub_constrain.hpp:156:0: required from 'auto stan::math::ub_constrain(const T&, const U&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_any_st_var<Scalar, Mat>* <anonymous> = 0]'
156 | auto arena_neg_exp_x = to_arena(-arena_x.val().array().exp());
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:163:0: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/ub_constrain.hpp:157:0: required from 'auto stan::math::ub_constrain(const T&, const U&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_any_st_var<Scalar, Mat>* <anonymous> = 0]'
157 | arena_t<ret_type> ret = ub_val + arena_neg_exp_x;
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:163:0: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:110:47: required from 'stan::math::inv_logit<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<var_value<double>, -1, 1> > > > >(Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<var_value<double>, -1, 1> > > >&&)::<lambda(auto:319&&)> [with auto:319 = Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >&]'
110 | [](auto&& v) { return v.array().logistic(); });
| ~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:58:44: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:169:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0]'
169 | arena_t<ret_type> ret = diff * inv_logit_x + lb_val;
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:267:50: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, int>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<int, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:169:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0]'
169 | arena_t<ret_type> ret = diff * inv_logit_x + lb_val;
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:267:50: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:173:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0]'
173 | += ret.adj().array() * diff * inv_logit_x * (1.0 - inv_logit_x);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:267:50: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:173:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0]'
173 | += ret.adj().array() * diff * inv_logit_x * (1.0 - inv_logit_x);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:267:50: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:173:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0]'
173 | += ret.adj().array() * diff * inv_logit_x * (1.0 - inv_logit_x);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:267:50: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:173:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0]'
173 | += ret.adj().array() * diff * inv_logit_x * (1.0 - inv_logit_x);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:267:50: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)> [with auto:61 = stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:209:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
209 | auto neg_abs_x = to_arena(-(value_of(arena_x).array()).abs());
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:209:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
209 | auto neg_abs_x = to_arena(-(value_of(arena_x).array()).abs());
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:209:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
209 | auto neg_abs_x = to_arena(-(value_of(arena_x).array()).abs());
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)> [with auto:12 = stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 11 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:211:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
211 | lp += (log(diff) + (neg_abs_x - (2.0 * log1p_exp(neg_abs_x)))).sum();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:211:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
211 | lp += (log(diff) + (neg_abs_x - (2.0 * log1p_exp(neg_abs_x)))).sum();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1p_exp_fun, stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&, void>::apply<stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&>(stan::math::arena_matrix<Eigen::Array<double, -1, 1>, void>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:211:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
211 | lp += (log(diff) + (neg_abs_x - (2.0 * log1p_exp(neg_abs_x)))).sum();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_logistic_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv_logit.hpp:110:47: required from 'stan::math::inv_logit<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<var_value<double>, -1, 1> > > > >(Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<var_value<double>, -1, 1> > > >&&)::<lambda(auto:319&&)> [with auto:319 = Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >&]'
110 | [](auto&& v) { return v.array().logistic(); });
| ~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:58:44: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:219:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
219 | + lp.adj() * (1.0 - 2.0 * inv_logit_x);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:219:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
219 | + lp.adj() * (1.0 - 2.0 * inv_logit_x);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:219:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
219 | + lp.adj() * (1.0 - 2.0 * inv_logit_x);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, int>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Map<Eigen::Array<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/constraint/lub_constrain.hpp:219:0: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, stan::return_type_t<T_x, T_sigma, T_l>&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; L = int; U = int; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = var_value<double>]'
218 | += ret.adj().array() * diff * inv_logit_x * (1.0 - inv_logit_x)
219 | + lp.adj() * (1.0 - 2.0 * inv_logit_x);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/io/deserializer.hpp:434:0: required from 'auto stan::io::deserializer<T>::read_constrain_lub(const LB&, const UB&, LP&, Sizes ...) [with Ret = std::vector<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, std::allocator<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; bool Jacobian = true; LB = int; UB = int; LP = stan::math::var_value<double>; Sizes = {int, int}; T = stan::math::var_value<double>]'
434 | return stan::math::lub_constrain<Jacobian>(this->read<Ret>(sizes...), lb,
435 | ub, lp);
stanExports_mdcev.h:2220:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2219 | in__.template read_constrain_lub<
2220 | std::vector<Eigen::Matrix<local_scalar_t__,-1,1>>, jacobian__>(0,
2221 | 1, lp__, K, A);
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&>(Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&>(Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&>(Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&>(Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&>(Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&>(Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>&)::<lambda(auto:61&&)> [with auto:61 = Eigen::VectorBlock<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1>&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:56:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
56 | = return_var_matrix_t<decltype(arena_A * value_of(B).eval()), T1, T2>;
stanExports_mdcev.h:2305:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2305 | stan::math::multiply(dat_psi,
2306 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
57 | arena_t<return_t> res = arena_A * arena_B.val_op();
stanExports_mdcev.h:2305:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2305 | stan::math::multiply(dat_psi,
2306 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:59:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
59 | arena_B.adj() += arena_A.transpose() * res.adj_op();
stanExports_mdcev.h:2305:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2305 | stan::math::multiply(dat_psi,
2306 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:59:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::VectorBlock<const Eigen::Matrix<var_value<double>, -1, 1>, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
59 | arena_B.adj() += arena_A.transpose() * res.adj_op();
stanExports_mdcev.h:2305:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2305 | stan::math::multiply(dat_psi,
2306 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:113:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
113 | using op_ret_type = decltype(a.val() + b.val());
stanExports_mdcev.h:2303:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2303 | stan::math::add(stan::model::deep_copy(lpsi),
2304 | stan::math::to_matrix(
2305 | stan::math::multiply(dat_psi,
2306 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:0: required by substitution of 'template<class ReturnType, class ... Types> using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix<ReturnType, Types ...>::value), stan::math::var_value<typename stan::math::promote_scalar_type<double, typename std::decay<typename stan::plain_type<typename std::decay<_Tp>::type>::type>::type, void>::type>, typename stan::math::promote_scalar_type<stan::math::var_value<double>, typename std::decay<typename stan::plain_type<typename std::decay<_Tp>::type>::type>::type, void>::type> [with ReturnType = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >; Types = {Eigen::Matrix<stan::math::var_value<double, void>, -1, -1, 0, -1, -1>, Eigen::Matrix<stan::math::var_value<double, void>, -1, -1, 0, -1, -1>}]'
23 | is_any_var_matrix<ReturnType, Types...>::value,
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:2303:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2303 | stan::math::add(stan::model::deep_copy(lpsi),
2304 | stan::math::to_matrix(
2305 | stan::math::multiply(dat_psi,
2306 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:117:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
117 | arena_t<ret_type> ret(arena_a.val() + arena_b.val());
stanExports_mdcev.h:2303:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2303 | stan::math::add(stan::model::deep_copy(lpsi),
2304 | stan::math::to_matrix(
2305 | stan::math::multiply(dat_psi,
2306 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:117:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
117 | arena_t<ret_type> ret(arena_a.val() + arena_b.val());
stanExports_mdcev.h:2303:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2303 | stan::math::add(stan::model::deep_copy(lpsi),
2304 | stan::math::to_matrix(
2305 | stan::math::multiply(dat_psi,
2306 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::Matrix<var_value<double>, -1, 1>&>(Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::Matrix<var_value<double>, -1, 1>&>(Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::Matrix<var_value<double>, -1, 1>&>(Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<Eigen::Matrix<var_value<double>, -1, 1>&>(Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::Matrix<var_value<double>, -1, 1>&>(Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<Eigen::Matrix<var_value<double>, -1, 1>&>(Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)> [with auto:61 = Eigen::Matrix<stan::math::var_value<double>, -1, 1>&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:56:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
56 | = return_var_matrix_t<decltype(arena_A * value_of(B).eval()), T1, T2>;
stanExports_mdcev.h:2324:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2324 | stan::math::to_matrix(stan::math::multiply(dat_psi, psi_k),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&>(Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&>(Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&>(Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&>(Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&>(Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&>(Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&)::<lambda(auto:61&&)> [with auto:61 = Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:56:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
56 | = return_var_matrix_t<decltype(arena_A * value_of(B).eval()), T1, T2>;
stanExports_mdcev.h:2424:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2424 | stan::math::multiply(data_class, stan::math::transpose(delta)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:0: required by substitution of 'template<class ReturnType, class ... Types> using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix<ReturnType, Types ...>::value), stan::math::var_value<typename stan::math::promote_scalar_type<double, typename std::decay<typename stan::plain_type<typename std::decay<_Tp>::type>::type>::type, void>::type>, typename stan::math::promote_scalar_type<stan::math::var_value<double>, typename std::decay<typename stan::plain_type<typename std::decay<_Tp>::type>::type>::type, void>::type> [with ReturnType = const Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0>; Types = {const Eigen::Map<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >&, Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<stan::math::var_value<double, void>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >}]'
23 | is_any_var_matrix<ReturnType, Types...>::value,
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:55:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
55 | using return_t
stanExports_mdcev.h:2424:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2424 | stan::math::multiply(data_class, stan::math::transpose(delta)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:57:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
57 | arena_t<return_t> res = arena_A * arena_B.val_op();
stanExports_mdcev.h:2424:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2424 | stan::math::multiply(data_class, stan::math::transpose(delta)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:59:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
59 | arena_B.adj() += arena_A.transpose() * res.adj_op();
stanExports_mdcev.h:2424:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2424 | stan::math::multiply(data_class, stan::math::transpose(delta)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:59:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; T2 = Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
59 | arena_B.adj() += arena_A.transpose() * res.adj_op();
stanExports_mdcev.h:2424:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2424 | stan::math::multiply(data_class, stan::math::transpose(delta)),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_softmax.hpp:68:0: required from 'auto stan::math::log_softmax(const T&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_eigen_st<stan::is_var, Op>* <anonymous> = 0]'
68 | vector_d x_d = x_ref.val();
stanExports_mdcev.h:2434:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2434 | stan::math::log_softmax(
2435 | stan::math::append_row(static_cast<double>(0),
2436 | stan::math::transpose(
2437 | stan::model::rvalue(delta_data, "delta_data",
2438 | stan::model::index_uni(i))))),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_softmax.hpp:74:0: required from 'auto stan::math::log_softmax(const T&) [with T = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_eigen_st<stan::is_var, Op>* <anonymous> = 0]'
74 | vector_d softmax_x_d = diff.array().exp();
stanExports_mdcev.h:2434:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2434 | stan::math::log_softmax(
2435 | stan::math::append_row(static_cast<double>(0),
2436 | stan::math::transpose(
2437 | stan::model::rvalue(delta_data, "delta_data",
2438 | stan::model::index_uni(i))))),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/meta/return_var_matrix.hpp:23:0: required by substitution of 'template<class ReturnType, class ... Types> using stan::return_var_matrix_t = std::conditional_t<((bool)stan::is_any_var_matrix<ReturnType, Types ...>::value), stan::math::var_value<typename stan::math::promote_scalar_type<double, typename std::decay<typename stan::plain_type<typename std::decay<_Tp>::type>::type>::type, void>::type>, typename stan::math::promote_scalar_type<stan::math::var_value<double>, typename std::decay<typename stan::plain_type<typename std::decay<_Tp>::type>::type>::type, void>::type> [with ReturnType = const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >; Types = {Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>&, Eigen::Matrix<stan::math::var_value<double, void>, -1, 1, 0, -1, 1>}]'
23 | is_any_var_matrix<ReturnType, Types...>::value,
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, 1>&; VarMat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:2446:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2446 | stan::math::add(ltheta,
2447 | stan::math::to_vector(
2448 | stan::model::rvalue(log_like_util, "log_like_util",
2449 | stan::model::index_omni(), stan::model::index_uni(i)))),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:117:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, 1>&; VarMat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
117 | arena_t<ret_type> ret(arena_a.val() + arena_b.val());
stanExports_mdcev.h:2446:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2446 | stan::math::add(ltheta,
2447 | stan::math::to_vector(
2448 | stan::model::rvalue(log_like_util, "log_like_util",
2449 | stan::model::index_omni(), stan::model::index_uni(i)))),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:75:41: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const Scal&, const ColVec&) [with Scal = double; ColVec = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_t<stan::is_eigen_col_vector<Col> >* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
75 | result << A, B.template cast<T_return>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:2695:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2695 | stan::math::append_row(static_cast<double>(0),
2696 | stan::math::head(psi_k, (J - 1)))), I),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from 'auto stan::math::transpose(const T&) [with T = Eigen::VectorBlock<const Eigen::Matrix<double, -1, 1>, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
18 | return m.transpose();
| ~~~~~~~~~~~^~
stanExports_mdcev.h:586:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type>::type, -1, -1> model_mdcev_namespace::alpha_j_ll(const T0__&, const T1__&, const T2__&, const T3__&, std::ostream*) [with T0__ = Eigen::Matrix<double, -1, 1>; T1__ = int; T2__ = int; T3__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, std::is_integral<typename std::decay<_Tp2>::type>, std::is_integral<typename std::decay<CheckType>::type>, std::is_integral<typename std::decay<T3>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type>::type = double; typename stan::base_type<T>::type = double; std::ostream = std::basic_ostream<char>]'
586 | stan::math::transpose(
587 | stan::model::rvalue(alpha, "alpha",
588 | stan::model::index_min_max(2, (J + 1)))), I),
stanExports_mdcev.h:2742:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2742 | alpha_j_ll(
2743 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(k)),
2744 | I, J, model_num, pstream__), "assigning variable alpha_j");
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Replicate<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Replicate<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Replicate<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Replicate.h:61:65: required from 'class Eigen::Replicate<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >, -1, -1>'
61 | template<typename MatrixType,int RowFactor,int ColFactor> class Replicate
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rep_matrix.hpp:57:23: required from 'auto stan::math::rep_matrix(const Vec&, int) [with Vec = Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false> >; stan::require_eigen_vector_t<C>* <anonymous> = 0]'
57 | return x.replicate(n, 1);
| ~~~~~~~~~~~^~~~~~
stanExports_mdcev.h:585:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type>::type, -1, -1> model_mdcev_namespace::alpha_j_ll(const T0__&, const T1__&, const T2__&, const T3__&, std::ostream*) [with T0__ = Eigen::Matrix<double, -1, 1>; T1__ = int; T2__ = int; T3__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, std::is_integral<typename std::decay<_Tp2>::type>, std::is_integral<typename std::decay<CheckType>::type>, std::is_integral<typename std::decay<T3>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type>::type = double; typename stan::base_type<T>::type = double; std::ostream = std::basic_ostream<char>]'
585 | stan::math::rep_matrix(
586 | stan::math::transpose(
587 | stan::model::rvalue(alpha, "alpha",
588 | stan::model::index_min_max(2, (J + 1)))), I),
stanExports_mdcev.h:2742:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2742 | alpha_j_ll(
2743 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(k)),
2744 | I, J, model_num, pstream__), "assigning variable alpha_j");
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:32: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, 1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:760:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
stanExports_mdcev.h:759:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
759 | stan::math::elt_multiply(
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:28:12: required from 'auto stan::math::multiply(const Mat&, Scal) [with Mat = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; Scal = double; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0; stan::require_all_not_complex_t<Scal, typename stan::value_type<T, void>::type>* <anonymous> = 0]'
28 | return c * m;
| ~~^~~
stanExports_mdcev.h:758:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
758 | stan::math::multiply(
759 | stan::math::elt_multiply(
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
761 | inv_scale), "assigning variable v1");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:51&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1, 0, -1, -1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)> [with auto:12 = const Eigen::Matrix<double, -1, -1>&]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log1m.hpp:75:49: required from 'auto stan::math::log1m(T&&) [with T = const Eigen::Matrix<double, -1, -1>&; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<Container>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
75 | return apply_scalar_unary<log1m_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:787:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
787 | stan::math::subtract(stan::math::log1m(alpha_j), log_qpg),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<double, -1, -1>&, void>::apply<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, -1> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:787:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
787 | stan::math::subtract(stan::math::log1m(alpha_j), log_qpg),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:38:28: required from 'struct Eigen::internal::traits<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
38 | >::type Scalar;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:21: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, -1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~^~~~
stanExports_mdcev.h:795:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:21: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, -1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~^~~~
stanExports_mdcev.h:795:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:32: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::Matrix<double, -1, -1>; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:795:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::Matrix<double, -1, -1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:796:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::log<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:51&&)>, const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&, stan::math::log<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::log<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:51&&)>, const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&, stan::math::log<const Eigen::Matrix<double, -1, -1>&>(const Eigen::Matrix<double, -1, -1>&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::Matrix<double, -1, -1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:796:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, -1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:796:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
stanExports_mdcev.h:794:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, -1>; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:793:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:797:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:797:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&, void>::apply<stan::math::log<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:51&&)>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&, stan::math::log<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&, void>::apply<stan::math::log<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:51&&)>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&, stan::math::log<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:797:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:792:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
792 | stan::math::subtract(
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:28:12: required from 'auto stan::math::multiply(const Mat&, Scal) [with Mat = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >; Scal = double; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0; stan::require_all_not_complex_t<Scal, typename stan::value_type<T, void>::type>* <anonymous> = 0]'
28 | return c * m;
| ~~^~~
stanExports_mdcev.h:791:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
791 | stan::math::multiply(
792 | stan::math::subtract(
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:277:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from 'struct Eigen::internal::unary_evaluator<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, Eigen::internal::IndexBased, double>'
311 | CoeffReadCost = evaluator<ArgType>::CoeffReadCost,
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from 'struct Eigen::internal::evaluator<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
90 | struct evaluator : public unary_evaluator<T>
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Ref.h:44:50: required from 'struct Eigen::internal::traits<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >::match<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
44 | DerivedAlignment = int(evaluator<Derived>::Alignment),
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/ref_type.hpp:44:38: required from 'struct stan::ref_type_if<true, Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >&, void>'
44 | template match<T_dec>::MatchAtCompileTime
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/ref_type.hpp:56:7: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:83:39: required from 'auto stan::math::log_sum_exp(T&&) [with T = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; stan::require_container_st<std::is_arithmetic, Container>* <anonymous> = 0]'
83 | return apply_vector_unary<T>::reduce(std::forward<T>(x), [](auto&& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84 | if (v.size() == 0) {
| ~~~~~~~~~~~~~~~~~~~~
85 | return NEGATIVE_INFTY;
| ~~~~~~~~~~~~~~~~~~~~~~
86 | }
| ~
87 | const auto& v_ref = to_ref(v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | const double max = v_ref.maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | if (!std::isfinite(max)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | return max;
| ~~~~~~~~~~~
91 | }
| ~
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | });
| ~~
stanExports_mdcev.h:809:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
809 | stan::math::log_sum_exp(
810 | stan::math::transpose(
811 | stan::model::rvalue(v_j, "v_j", stan::model::index_uni(i))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:62:22: required from 'auto stan::math::subtract(Scal, const Mat&) [with Scal = double; Mat = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
62 | return (c - m.array()).matrix();
| ~~~~~~~^~
stanExports_mdcev.h:824:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
824 | stan::math::subtract(static_cast<double>(1), M),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:62:13: required from 'auto stan::math::subtract(Scal, const Mat&) [with Scal = double; Mat = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
62 | return (c - m.array()).matrix();
| ~~~^~~~~~~~~~~~
stanExports_mdcev.h:824:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
824 | stan::math::subtract(static_cast<double>(1), M),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:62:32: required from 'auto stan::math::subtract(Scal, const Mat&) [with Scal = double; Mat = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
62 | return (c - m.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:824:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
824 | stan::math::subtract(static_cast<double>(1), M),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:28:12: required from 'auto stan::math::multiply(const Mat&, Scal) [with Mat = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Scal = double; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0; stan::require_all_not_complex_t<Scal, typename stan::value_type<T, void>::type>* <anonymous> = 0]'
28 | return c * m;
| ~~^~~
stanExports_mdcev.h:823:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:822:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:821:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:64: required from 'stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)> [with auto:52 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >&]'
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>; T2 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:831:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:831:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, void>::apply<stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >&&, stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, void>::apply<stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >&&, stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1, 0, -1, -1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:831:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
stanExports_mdcev.h:830:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:77:13: required from 'auto stan::math::add(Scal, const Mat&) [with Scal = double; Mat = Eigen::Matrix<double, -1, 1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
77 | return (c + m.array()).matrix();
| ~~~^~~~~~~~~~~~
stanExports_mdcev.h:828:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:77:32: required from 'auto stan::math::add(Scal, const Mat&) [with Scal = double; Mat = Eigen::Matrix<double, -1, 1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
77 | return (c + m.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:828:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)>; T2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:827:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:827:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, void>::apply<stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)>, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&, stan::math::log<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >(Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:827:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:820:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
stanExports_mdcev.h:832:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:819:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
819 | stan::math::subtract(
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:818:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
818 | stan::math::add(
819 | stan::math::subtract(
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)> [with auto:12 = const Eigen::Matrix<double, -1, 1>&]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log1m.hpp:75:49: required from 'auto stan::math::log1m(T&&) [with T = const Eigen::Matrix<double, -1, 1>&; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<Container>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
75 | return apply_scalar_unary<log1m_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:841:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
841 | stan::math::subtract(stan::math::log1m(alpha1), log_num),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<double, -1, 1>&, void>::apply<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:841:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
841 | stan::math::subtract(stan::math::log1m(alpha1), log_num),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:849:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
849 | stan::math::add(
850 | stan::math::add(
851 | stan::math::add(
852 | stan::math::multiply(
853 | stan::math::subtract(static_cast<double>(1), M),
854 | log_scale), logf1), v1),
855 | stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:848:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
848 | stan::math::add(
849 | stan::math::add(
850 | stan::math::add(
851 | stan::math::add(
852 | stan::math::multiply(
853 | stan::math::subtract(static_cast<double>(1), M),
854 | log_scale), logf1), v1),
855 | stan::math::rows_dot_product(nonzero, logf)),
856 | stan::math::rows_dot_product(nonzero, v_j)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:64: required from 'stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:52&&)> [with auto:52 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >&]'
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:52&&)>; T2 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:858:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:858:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:52&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >&&, stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:52&&)>, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >&&, stan::math::exp<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:858:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:858:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
859 | stan::math::rows_dot_product(nonzero,
860 | stan::math::elt_multiply(price_j,
861 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:857:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
857 | stan::math::log(
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
859 | stan::math::rows_dot_product(nonzero,
860 | stan::math::elt_multiply(price_j,
861 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:857:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
857 | stan::math::log(
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
859 | stan::math::rows_dot_product(nonzero,
860 | stan::math::elt_multiply(price_j,
861 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:857:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
857 | stan::math::log(
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
859 | stan::math::rows_dot_product(nonzero,
860 | stan::math::elt_multiply(price_j,
861 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:847:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
847 | stan::math::add(
848 | stan::math::add(
849 | stan::math::add(
850 | stan::math::add(
851 | stan::math::add(
852 | stan::math::multiply(
853 | stan::math::subtract(static_cast<double>(1), M),
854 | log_scale), logf1), v1),
855 | stan::math::rows_dot_product(nonzero, logf)),
856 | stan::math::rows_dot_product(nonzero, v_j)),
857 | stan::math::log(
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
859 | stan::math::rows_dot_product(nonzero,
860 | stan::math::elt_multiply(price_j,
861 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:846:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
846 | stan::math::subtract(
847 | stan::math::add(
848 | stan::math::add(
849 | stan::math::add(
850 | stan::math::add(
851 | stan::math::add(
852 | stan::math::multiply(
853 | stan::math::subtract(static_cast<double>(1), M),
854 | log_scale), logf1), v1),
855 | stan::math::rows_dot_product(nonzero, logf)),
856 | stan::math::rows_dot_product(nonzero, v_j)),
857 | stan::math::log(
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
859 | stan::math::rows_dot_product(nonzero,
860 | stan::math::elt_multiply(price_j,
861 | stan::math::exp(stan::math::minus(logf))))))),
862 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, 1> > > > >, const Eigen::Matrix<double, -1, 1> > > > > >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, 1> > >; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:845:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
845 | stan::math::add(
846 | stan::math::subtract(
847 | stan::math::add(
848 | stan::math::add(
849 | stan::math::add(
850 | stan::math::add(
851 | stan::math::add(
852 | stan::math::multiply(
853 | stan::math::subtract(static_cast<double>(1), M),
854 | log_scale), logf1), v1),
855 | stan::math::rows_dot_product(nonzero, logf)),
856 | stan::math::rows_dot_product(nonzero, v_j)),
857 | stan::math::log(
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
859 | stan::math::rows_dot_product(nonzero,
860 | stan::math::elt_multiply(price_j,
861 | stan::math::exp(stan::math::minus(logf))))))),
862 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:881:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
881 | stan::math::log(income)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<stan::math::log<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:51&&)>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, stan::math::log<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<stan::math::log<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:51&&)>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, stan::math::log<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:881:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
881 | stan::math::log(income)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
stanExports_mdcev.h:879:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
879 | stan::math::elt_multiply(
880 | stan::math::subtract(alpha1, static_cast<double>(1)),
881 | stan::math::log(income)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, -1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:882:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
882 | stan::math::subtract(lpsi, stan::math::log(price_j))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_col.hpp:49:18: required from 'auto stan::math::append_col(const T1&, const T2&) [with T1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >; <template-parameter-1-3> = void]'
49 | result.leftCols(Acols) = A.template cast<T_return>();
| ~~~~~~~~~~~~~~~^~~~~~~
stanExports_mdcev.h:878:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
878 | stan::math::append_col(
879 | stan::math::elt_multiply(
880 | stan::math::subtract(alpha1, static_cast<double>(1)),
881 | stan::math::log(income)),
882 | stan::math::subtract(lpsi, stan::math::log(price_j))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_col.hpp:49:53: required from 'auto stan::math::append_col(const T1&, const T2&) [with T1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >; <template-parameter-1-3> = void]'
49 | result.leftCols(Acols) = A.template cast<T_return>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:878:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
878 | stan::math::append_col(
879 | stan::math::elt_multiply(
880 | stan::math::subtract(alpha1, static_cast<double>(1)),
881 | stan::math::log(income)),
882 | stan::math::subtract(lpsi, stan::math::log(price_j))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: required from 'struct Eigen::internal::cast_return_type<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
513 | typedef typename _CastType::Scalar NewScalarType;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:48:179: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_col.hpp:50:54: required from 'auto stan::math::append_col(const T1&, const T2&) [with T1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >; <template-parameter-1-3> = void]'
50 | result.rightCols(Bcols) = B.template cast<T_return>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:878:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
878 | stan::math::append_col(
879 | stan::math::elt_multiply(
880 | stan::math::subtract(alpha1, static_cast<double>(1)),
881 | stan::math::log(income)),
882 | stan::math::subtract(lpsi, stan::math::log(price_j))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:64: required from 'stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)> [with auto:52 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >&]'
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:876:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
876 | stan::math::exp(
877 | stan::math::multiply(
878 | stan::math::append_col(
879 | stan::math::elt_multiply(
880 | stan::math::subtract(alpha1, static_cast<double>(1)),
881 | stan::math::log(income)),
882 | stan::math::subtract(lpsi, stan::math::log(price_j))),
883 | inv_scale)), "assigning variable v_1");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:876:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
876 | stan::math::exp(
877 | stan::math::multiply(
878 | stan::math::append_col(
879 | stan::math::elt_multiply(
880 | stan::math::subtract(alpha1, static_cast<double>(1)),
881 | stan::math::log(income)),
882 | stan::math::subtract(lpsi, stan::math::log(price_j))),
883 | inv_scale)), "assigning variable v_1");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, void>::apply<stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >&&, stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, void>::apply<stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >&&, stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 0, -1, -1> >, const Eigen::Matrix<double, -1, -1, 0, -1, -1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:876:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
876 | stan::math::exp(
877 | stan::math::multiply(
878 | stan::math::append_col(
879 | stan::math::elt_multiply(
880 | stan::math::subtract(alpha1, static_cast<double>(1)),
881 | stan::math::log(income)),
882 | stan::math::subtract(lpsi, stan::math::log(price_j))),
883 | inv_scale)), "assigning variable v_1");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, -1>, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/col.hpp:26:15: required from 'auto stan::math::col(const T&, size_t) [with T = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0; size_t = long long unsigned int]'
26 | return m.col(j - 1);
| ~~~~~^~~~~~~
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from 'auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, -1>; Mat2 = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >; stan::require_all_eigen_vt<std::is_arithmetic, Mat1, Mat2>* <anonymous> = 0; stan::require_not_eigen_row_and_col_t<Mat1, Mat2>* <anonymous> = 0]'
107 | return m1 * m2;
| ~~~^~~~
stanExports_mdcev.h:891:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:19: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Mat2 = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:32: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Mat2 = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Mat2 = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true> >, const Eigen::ArrayWrapper<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true>; Mat2 = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >, 0>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:219:66: required from 'stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)> [with auto:31 = stan::math::fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>; auto:32 = Eigen::Matrix<double, -1, 1>; auto:33 = int]'
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/fmin.hpp:37:29: required from 'auto stan::math::fmin(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>; T2 = int; stan::require_any_container_t<T1, T2>* <anonymous> = 0]'
37 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
38 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
39 | return fmin(std::forward<decltype(c)>(c), std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | },
| ~~
41 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:896:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
896 | stan::math::fmin(stan::model::deep_copy(like_trunc), 1),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:219:66: required from 'stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)> [with auto:31 = stan::math::fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&; auto:32 = Eigen::Matrix<double, -1, 1>&; auto:33 = int&]'
219 | return std::forward<decltype(x_inner)>(x_inner).unaryExpr(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
220 | [f_inner_ = std::forward<decltype(f_inner)>(f_inner),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | y_inner](auto&& v) { return f_inner_(v, y_inner); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/fmin.hpp:37:29: required from 'auto stan::math::fmin(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>; T2 = int; stan::require_any_container_t<T1, T2>* <anonymous> = 0]'
37 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
38 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
39 | return fmin(std::forward<decltype(c)>(c), std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | },
| ~~
41 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:896:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
896 | stan::math::fmin(stan::model::deep_copy(like_trunc), 1),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, int>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, int> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, int> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:148:7: required from 'class stan::math::Holder<Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> >, stan::math::fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, int>'
148 | class Holder
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:398:16: required from 'auto stan::math::internal::make_holder_impl_construct_object(T&&, std::index_sequence<Is ...>, const std::tuple<Args* ...>&) [with T = Eigen::CwiseUnaryOp<stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>::<lambda(auto:34&&)>, const Eigen::Matrix<double, -1, 1> >; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, int}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
398 | return holder(std::forward<T>(expr), std::get<Is>(ptrs)...);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:416:43: required from 'auto stan::math::internal::make_holder_impl(F&&, std::index_sequence<Is ...>, Args&& ...) [with F = stan::math::apply_scalar_binary<fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1>, int>(fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>&&, Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:31&&, auto:32&&, auto:33&&)>; long long unsigned int ...Is = {0, 1, 2}; Args = {stan::math::fmin<Eigen::Matrix<double, -1, 1>, int>(Eigen::Matrix<double, -1, 1>&&, int&&)::<lambda(auto:283&&, auto:284&&)>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, int}; std::index_sequence<Is ...> = std::integer_sequence<long long unsigned int, 0, 1, 2>]'
416 | return make_holder_impl_construct_object(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
417 | std::forward<F>(func)(*std::get<Is>(res)...),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
418 | std::make_index_sequence<std::tuple_size<decltype(ptrs)>::value>(), ptrs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:438:36: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/fmin.hpp:37:29: required from 'auto stan::math::fmin(T1&&, T2&&) [with T1 = Eigen::Matrix<double, -1, 1>; T2 = int; stan::require_any_container_t<T1, T2>* <anonymous> = 0]'
37 | return apply_scalar_binary(
| ~~~~~~~~~~~~~~~~~~~^
38 | [](auto&& c, auto&& d) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
39 | return fmin(std::forward<decltype(c)>(c), std::forward<decltype(d)>(d));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | },
| ~~
41 | std::forward<T1>(a), std::forward<T2>(b));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:896:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
896 | stan::math::fmin(stan::model::deep_copy(like_trunc), 1),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)> [with auto:12 = Eigen::Matrix<double, -1, 1>&]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log1m.hpp:75:49: required from 'auto stan::math::log1m(T&&) [with T = Eigen::Matrix<double, -1, 1>&; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<Container>* <anonymous> = 0; stan::require_container_t<T1>* <anonymous> = 0]'
75 | return apply_scalar_unary<log1m_fun, T>::apply(std::forward<T>(x));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:901:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
901 | stan::math::log1m(like_trunc)), "assigning variable log_like");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, Eigen::Matrix<double, -1, 1>&, void>::apply<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<double, -1, 1> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:900:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
900 | stan::math::subtract(stan::model::deep_copy(log_like),
901 | stan::math::log1m(like_trunc)), "assigning variable log_like");
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, -1>; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
stanExports_mdcev.h:1074:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:1074:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:19: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
stanExports_mdcev.h:1073:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::math::elt_divide(
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
1075 | phi_ij), "assigning variable phi_quant_term");
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
stanExports_mdcev.h:1073:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::math::elt_divide(
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
1075 | phi_ij), "assigning variable phi_quant_term");
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, -1> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:1073:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::math::elt_divide(
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
1075 | phi_ij), "assigning variable phi_quant_term");
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Matrix<double, -1, -1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1083:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1083 | stan::model::assign(log_phi_quant_term, stan::math::log(phi_quant_term),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::log<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:51&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::log<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, -1>&, void>::apply<stan::math::log<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:51&&)>, Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&, stan::math::log<Eigen::Matrix<double, -1, -1>&>(Eigen::Matrix<double, -1, -1>&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, -1, 0, -1, -1> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Matrix<double, -1, -1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1083:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1083 | stan::model::assign(log_phi_quant_term, stan::math::log(phi_quant_term),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:62:13: required from 'auto stan::math::subtract(Scal, const Mat&) [with Scal = double; Mat = Eigen::Matrix<double, -1, 1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
62 | return (c - m.array()).matrix();
| ~~~^~~~~~~~~~~~
stanExports_mdcev.h:1113:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1113 | stan::math::subtract(static_cast<double>(1), alpha),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:62:32: required from 'auto stan::math::subtract(Scal, const Mat&) [with Scal = double; Mat = Eigen::Matrix<double, -1, 1>; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
62 | return (c - m.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:1113:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1113 | stan::math::subtract(static_cast<double>(1), alpha),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/indexing/rvalue.hpp:257:0: required from 'auto stan::model::rvalue(Mat&&, const char*, index_uni) [with Mat = const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >&; stan::require_dense_dynamic_t<T_y>* <anonymous> = 0]'
257 | return x.row(idx.n_ - 1);
stanExports_mdcev.h:1127:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1127 | stan::model::rvalue(price_j, "price_j",
1128 | stan::model::index_uni(i))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/transpose.hpp:18:21: required from 'auto stan::math::transpose(const T&) [with T = Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false>; stan::require_matrix_t<T>* <anonymous> = 0]'
18 | return m.transpose();
| ~~~~~~~~~~~^~
stanExports_mdcev.h:1126:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1126 | stan::math::transpose(
1127 | stan::model::rvalue(price_j, "price_j",
1128 | stan::model::index_uni(i))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/as_array_or_scalar.hpp:57:51: required from 'stan::math::as_array_or_scalar<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&>(const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&)::<lambda(auto:65&&)> [with auto:65 = const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&]'
57 | return make_holder([](auto&& x) { return x.array(); }, std::forward<T>(v));
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:44:16: required from 'auto stan::math::elt_divide(const Mat&, Scal) [with Mat = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; Scal = double; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
44 | return divide(m, s);
| ~~~~~~^~~~~~
stanExports_mdcev.h:1125:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1125 | stan::math::elt_divide(
1126 | stan::math::transpose(
1127 | stan::model::rvalue(price_j, "price_j",
1128 | stan::model::index_uni(i))),
1129 | stan::math::exp(
1130 | stan::model::rvalue(log_num, "log_num",
1131 | stan::model::index_uni(i)))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:50:17: required from 'stan::math::divide<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&, double&>(const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&, double&)::<lambda(auto:272&&, auto:273&&)> [with auto:272 = const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&; auto:273 = double&]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:44:16: required from 'auto stan::math::elt_divide(const Mat&, Scal) [with Mat = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; Scal = double; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
44 | return divide(m, s);
| ~~~~~~^~~~~~
stanExports_mdcev.h:1125:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1125 | stan::math::elt_divide(
1126 | stan::math::transpose(
1127 | stan::model::rvalue(price_j, "price_j",
1128 | stan::model::index_uni(i))),
1129 | stan::math::exp(
1130 | stan::model::rvalue(log_num, "log_num",
1131 | stan::model::index_uni(i)))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/divide.hpp:51:20: required from 'stan::math::divide<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&, double&>(const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&, double&)::<lambda(auto:272&&, auto:273&&)> [with auto:272 = const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&; auto:273 = double&]'
49 | return (as_array_or_scalar(std::forward<decltype(m_)>(m_))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | / as_array_or_scalar(std::forward<decltype(c_)>(c_)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | .matrix();
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::divide<const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&, double&>(const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&, double&)::<lambda(auto:272&&, auto:273&&)>; _Args = {const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&, double&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:44:16: required from 'auto stan::math::elt_divide(const Mat&, Scal) [with Mat = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; Scal = double; stan::require_matrix_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0]'
44 | return divide(m, s);
| ~~~~~~^~~~~~
stanExports_mdcev.h:1125:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1125 | stan::math::elt_divide(
1126 | stan::math::transpose(
1127 | stan::model::rvalue(price_j, "price_j",
1128 | stan::model::index_uni(i))),
1129 | stan::math::exp(
1130 | stan::model::rvalue(log_num, "log_num",
1131 | stan::model::index_uni(i)))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Matrix<double, -1, 1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1153:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:51&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:51&&)>, Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&, stan::math::log<Eigen::Matrix<double, -1, 1>&>(Eigen::Matrix<double, -1, 1>&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::Matrix<double, -1, 1>&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1153:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:1153:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:1152:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1152 | stan::math::subtract(
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
1154 | stan::math::rows_dot_product(nonzero, log_phi_quant_term)),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<stan::math::exp<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:52&&)>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, stan::math::exp<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, void>::apply<stan::math::exp<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:52&&)>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, stan::math::exp<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&>(const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:19: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~^~
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:22: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~^~~~~~~~~~~~~
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_divide.hpp:27:42: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
27 | return (m1.array() / m2.array()).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:1156:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1156 | stan::math::add(
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
1158 | stan::math::rows_dot_product(nonzero,
1159 | stan::math::elt_multiply(phi_quant_term, price_j))))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:64: required from 'stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)> [with auto:51 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1155:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1155 | stan::math::log(
1156 | stan::math::add(
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
1158 | stan::math::rows_dot_product(nonzero,
1159 | stan::math::elt_multiply(phi_quant_term, price_j))))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1155:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1155 | stan::math::log(
1156 | stan::math::add(
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
1158 | stan::math::rows_dot_product(nonzero,
1159 | stan::math::elt_multiply(phi_quant_term, price_j))))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >, void>::apply<stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >&&, stan::math::log<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >&&)::<lambda(auto:51&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >, const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:86:46: required from 'auto stan::math::log(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
86 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1155:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1155 | stan::math::log(
1156 | stan::math::add(
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
1158 | stan::math::rows_dot_product(nonzero,
1159 | stan::math::elt_multiply(phi_quant_term, price_j))))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> > > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, const Eigen::Matrix<double, -1, 1> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:1151:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1151 | stan::math::add(
1152 | stan::math::subtract(
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
1154 | stan::math::rows_dot_product(nonzero, log_phi_quant_term)),
1155 | stan::math::log(
1156 | stan::math::add(
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
1158 | stan::math::rows_dot_product(nonzero,
1159 | stan::math::elt_multiply(phi_quant_term, price_j))))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:1168:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1168 | stan::math::add(stan::math::minus(lpsi), log_phi_quant_term),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:1167:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1167 | stan::math::add(
1168 | stan::math::add(stan::math::minus(lpsi), log_phi_quant_term),
1169 | log_price_j),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
stanExports_mdcev.h:1171:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1171 | stan::math::elt_multiply(alpha_comp, log_num), J)), inv_scale),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Replicate.h:61:65: required from 'class Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1>'
61 | template<typename MatrixType,int RowFactor,int ColFactor> class Replicate
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rep_matrix.hpp:60:23: required from 'auto stan::math::rep_matrix(const Vec&, int) [with Vec = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; stan::require_eigen_vector_t<C>* <anonymous> = 0]'
60 | return x.replicate(1, n);
| ~~~~~~~~~~~^~~~~~
stanExports_mdcev.h:1170:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1170 | stan::math::rep_matrix(
1171 | stan::math::elt_multiply(alpha_comp, log_num), J)), inv_scale),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >; Mat2 = Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:1166:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1166 | stan::math::subtract(
1167 | stan::math::add(
1168 | stan::math::add(stan::math::minus(lpsi), log_phi_quant_term),
1169 | log_price_j),
1170 | stan::math::rep_matrix(
1171 | stan::math::elt_multiply(alpha_comp, log_num), J)), inv_scale),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:28:12: required from 'auto stan::math::multiply(const Mat&, Scal) [with Mat = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, -1, -1> >; Scal = double; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0; stan::require_all_not_complex_t<Scal, typename stan::value_type<T, void>::type>* <anonymous> = 0]'
28 | return c * m;
| ~~^~~
stanExports_mdcev.h:1165:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1165 | stan::math::multiply(
1166 | stan::math::subtract(
1167 | stan::math::add(
1168 | stan::math::add(stan::math::minus(lpsi), log_phi_quant_term),
1169 | log_price_j),
1170 | stan::math::rep_matrix(
1171 | stan::math::elt_multiply(alpha_comp, log_num), J)), inv_scale),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:18: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~^~
stanExports_mdcev.h:1178:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1178 | stan::math::subtract(stan::math::minus(g), log_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:21: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~^~~~
stanExports_mdcev.h:1178:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1178 | stan::math::subtract(stan::math::minus(g), log_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:79:32: required from 'auto stan::math::subtract(const Mat&, Scal) [with Mat = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >; Scal = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0]'
79 | return (m.array() - c).matrix();
| ~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:1178:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1178 | stan::math::subtract(stan::math::minus(g), log_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from 'auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_vt<std::is_arithmetic, Mat1, Mat2>* <anonymous> = 0; stan::require_not_eigen_row_and_col_t<Mat1, Mat2>* <anonymous> = 0]'
107 | return m1 * m2;
| ~~~^~~~
stanExports_mdcev.h:1179:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1179 | stan::math::multiply(stan::math::exp(stan::math::minus(g)), ones_j)),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >; Mat2 = Eigen::Product<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > >, Eigen::Matrix<double, -1, 1>, 0>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:1175:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1175 | stan::math::subtract(
1176 | stan::math::add(log_j_det,
1177 | stan::math::rows_dot_product(nonzero,
1178 | stan::math::subtract(stan::math::minus(g), log_scale))),
1179 | stan::math::multiply(stan::math::exp(stan::math::minus(g)), ones_j)),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:1197:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add.hpp:45:13: required from 'auto stan::math::add(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 + m2;
| ~~~^~~~
stanExports_mdcev.h:1196:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/elt_multiply.hpp:28:25: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<double, -1, 1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
28 | return m1.cwiseProduct(m2);
| ~~~~~~~~~~~~~~~^~~~
stanExports_mdcev.h:1201:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Replicate.h:61:65: required from 'class Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1>'
61 | template<typename MatrixType,int RowFactor,int ColFactor> class Replicate
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rep_matrix.hpp:60:23: required from 'auto stan::math::rep_matrix(const Vec&, int) [with Vec = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >; stan::require_eigen_vector_t<C>* <anonymous> = 0]'
60 | return x.replicate(1, n);
| ~~~~~~~~~~~^~~~~~
stanExports_mdcev.h:1200:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/subtract.hpp:45:13: required from 'auto stan::math::subtract(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >; Mat2 = Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0]'
45 | return m1 - m2;
| ~~~^~~~
stanExports_mdcev.h:1195:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:45: required from 'stan::math::minus<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> >&&)::<lambda(auto:346&&)> [with auto:346 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> >]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:21: required from 'auto stan::math::minus(T&&) [with T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> >; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1194:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:28:12: required from 'auto stan::math::multiply(const Mat&, Scal) [with Mat = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > >; Scal = double; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_not_st_var<Scal, Mat>* <anonymous> = 0; stan::require_all_not_complex_t<Scal, typename stan::value_type<T, void>::type>* <anonymous> = 0]'
28 | return c * m;
| ~~^~~
stanExports_mdcev.h:1193:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1193 | stan::math::multiply(
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:64: required from 'stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >&&)::<lambda(auto:52&&)> [with auto:52 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >&]'
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >&&)::<lambda(auto:52&&)>; T2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1192:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1192 | stan::math::exp(
1193 | stan::math::multiply(
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1192:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1192 | stan::math::exp(
1193 | stan::math::multiply(
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >, void>::apply<stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >&&)::<lambda(auto:52&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >&&, stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >, void>::apply<stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >&&)::<lambda(auto:52&&)>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >&&, stan::math::exp<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > >(Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1, 0, -1, -1> >, const Eigen::Matrix<double, -1, -1, 0, -1, -1> >, const Eigen::Matrix<double, -1, -1, 0, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1, 0, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > >; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1192:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1192 | stan::math::exp(
1193 | stan::math::multiply(
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:45: required from 'stan::math::minus<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >(Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > >&&)::<lambda(auto:346&&)> [with auto:346 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > >]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ^~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/minus.hpp:19:21: required from 'auto stan::math::minus(T&&) [with T = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > >; stan::require_not_std_vector_t<T_y>* <anonymous> = 0]'
19 | return make_holder([](auto&& x_) { return -x_; }, std::forward<T>(x));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1191:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1191 | stan::math::minus(
1192 | stan::math::exp(
1193 | stan::math::multiply(
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/multiply.hpp:107:13: required from 'auto stan::math::multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >; Mat2 = Eigen::Matrix<double, -1, 1>; stan::require_all_eigen_vt<std::is_arithmetic, Mat1, Mat2>* <anonymous> = 0; stan::require_not_eigen_row_and_col_t<Mat1, Mat2>* <anonymous> = 0]'
107 | return m1 * m2;
| ~~~^~~~
stanExports_mdcev.h:1190:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1190 | stan::math::multiply(
1191 | stan::math::minus(
1192 | stan::math::exp(
1193 | stan::math::multiply(
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
1203 | ones_j)), "assigning variable like_trunc");
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:64: required from 'stan::math::exp<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >(Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>&&)::<lambda(auto:52&&)> [with auto:52 = Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>&]'
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: required from 'static auto stan::math::apply_vector_unary<T, typename std::enable_if<stan::is_eigen<typename std::decay<_Tp>::type>::value, void>::type>::apply(T2&&, F&&) [with F = stan::math::exp<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >(Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>&&)::<lambda(auto:52&&)>; T2 = Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>; stan::require_t<stan::is_eigen_matrix_base<typename stan::plain_type<typename std::decay<T2>::type, void>::type> >* <anonymous> = 0; T = Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>]'
46 | if constexpr (is_eigen_array<decltype(f(x))>::value) {
| ~^~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1189:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1189 | stan::math::exp(
1190 | stan::math::multiply(
1191 | stan::math::minus(
1192 | stan::math::exp(
1193 | stan::math::multiply(
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
1203 | ones_j)), "assigning variable like_trunc");
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:88:70: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1189:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1189 | stan::math::exp(
1190 | stan::math::multiply(
1191 | stan::math::minus(
1192 | stan::math::exp(
1193 | stan::math::multiply(
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
1203 | ones_j)), "assigning variable like_trunc");
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>, void>::apply<stan::math::exp<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >(Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>&&)::<lambda(auto:52&&)>, Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >(Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>&&, stan::math::exp<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >(Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>, void>::apply<stan::math::exp<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >(Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>&&)::<lambda(auto:52&&)>, Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >(Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>&&, stan::math::exp<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0> >(Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>&&)::<lambda(auto:52&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1, 0, -1, -1> >, const Eigen::Matrix<double, -1, -1, 0, -1, -1> >, const Eigen::Matrix<double, -1, -1, 0, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1, 0, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1, 0, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/exp.hpp:87:46: required from 'auto stan::math::exp(Container&&) [with Container = Eigen::Product<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, -1> > > > >, const Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, -1, -1> > > > > > > >, Eigen::Matrix<double, -1, 1>, 0>; stan::require_container_bt<std::is_arithmetic, Container>* <anonymous> = 0]'
87 | return apply_vector_unary<Container>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
88 | std::forward<Container>(x), [](auto&& v) { return v.array().exp(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:1189:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1189 | stan::math::exp(
1190 | stan::math::multiply(
1191 | stan::math::minus(
1192 | stan::math::exp(
1193 | stan::math::multiply(
1194 | stan::math::minus(
1195 | stan::math::subtract(
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
1200 | stan::math::rep_matrix(
1201 | stan::math::elt_multiply(alpha_comp,
1202 | stan::math::log(income)), J))), inv_scale))),
1203 | ones_j)), "assigning variable like_trunc");
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_cast_op<double, double>, const Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:513:38: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/plugins/CommonCwiseUnaryOps.h:62:1: required by substitution of 'template<class NewType> typename Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >::CastXpr<NewType>::Type Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> > >::cast() const [with NewType = double]'
62 | cast() const
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/append_row.hpp:75:41: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, 1> stan::math::append_row(const Scal&, const ColVec&) [with Scal = double; ColVec = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; stan::require_stan_scalar_t<T1>* <anonymous> = 0; stan::require_t<stan::is_eigen_col_vector<Col> >* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
75 | result << A, B.template cast<T_return>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:2833:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2833 | stan::math::append_row(static_cast<double>(0),
2834 | stan::math::transpose(
2835 | stan::model::rvalue(delta_data, "delta_data",
2836 | stan::model::index_uni(i))))),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/softmax.hpp:54:24: required from 'stan::plain_type_t<T> stan::math::softmax(const ColVec&) [with ColVec = Eigen::Matrix<double, -1, 1>; stan::require_eigen_col_vector_vt<std::is_arithmetic, ColVec>* <anonymous> = 0; stan::plain_type_t<T> = Eigen::Matrix<double, -1, 1>]'
54 | return theta.array() / theta.sum();
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~
stanExports_mdcev.h:2876:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2876 | stan::math::softmax(
2877 | stan::math::append_row(static_cast<double>(0),
2878 | stan::math::transpose(
2879 | stan::model::rvalue(delta_data, "delta_data",
2880 | stan::model::index_uni(i)))))),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, member_sum<double, double>, 1>; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true, false>'
172 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess> class BlockImpl_dense
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:203:15: required from 'PacketType Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::packet(Eigen::Index) const [with int LoadMode = 0; PacketType = __vector(2) double; ArgType = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; MemberOp = Eigen::internal::member_sum<double, double>; int Direction = 1; Eigen::Index = long long int]'
203 | PanelType panel(m_arg,
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:251:78: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
251 | PacketScalar packet_res0 = eval.template packet<alignment,PacketScalar>(alignedStart);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from 'class Eigen::internal::redux_evaluator<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 2, -1, true> >'
357 | class redux_evaluator : public internal::evaluator<_XprType>
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:217:20: required from 'PacketType Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::packet(Eigen::Index) const [with int LoadMode = 0; PacketType = __vector(2) double; ArgType = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; MemberOp = Eigen::internal::member_sum<double, double>; int Direction = 1; Eigen::Index = long long int]'
217 | PanelEvaluator panel_eval(panel);
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:251:78: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
251 | PacketScalar packet_res0 = eval.template packet<alignment,PacketScalar>(alignedStart);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:172:103: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false, false>'
172 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess> class BlockImpl_dense
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: required from 'class Eigen::BlockImpl<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false, Eigen::Dense>'
154 | class BlockImpl<XprType, BlockRows, BlockCols, InnerPanel, Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:103:81: required from 'class Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>'
103 | template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class Block
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:72: required from 'const Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::Scalar Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::coeff(Eigen::Index) const [with ArgType = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; MemberOp = Eigen::internal::member_sum<double, double>; int Direction = 1; Scalar = double; Eigen::Index = long long int]'
183 | return m_functor(m_arg.template subVector<DirectionType(Direction)>(index));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:268:34: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
268 | res = func(res,eval.coeff(index));
| ~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'void Eigen::internal::gemm_pack_rhs<Scalar, Index, DataMapper, nr, 0, Conjugate, PanelMode>::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long long int; DataMapper = Eigen::internal::const_blas_data_mapper<double, long long int, 0>; int nr = 4; bool Conjugate = false; bool PanelMode = false]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:100:15: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
100 | pack_rhs(blockB, rhs.getSubMapper(k2,0), actual_kc, size);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2459:62: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
2459 | PacketBlock<Packet,(PacketSize%4)==0?4:PacketSize> kernel;
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'void Eigen::internal::gemm_pack_lhs<Scalar, Index, DataMapper, Pack1, Pack2, Packet, 1, Conjugate, PanelMode>::operator()(Scalar*, const DataMapper&, Index, Index, Index, Index) [with Scalar = double; Index = long long int; DataMapper = Eigen::internal::const_blas_data_mapper<double, long long int, 1>; int Pack1 = 4; int Pack2 = 2; Packet = __vector(2) double; bool Conjugate = false; bool PanelMode = false]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:106:17: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
106 | pack_lhs(blockA, lhs.getSubMapper(i2, k2), actual_kc, actual_mc);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2256:82: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2256 | typedef typename unpacket_traits<typename unpacket_traits<Packet>::half>::half QuarterPacket;
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2258:56: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2258 | HalfPacketSize = unpacket_traits<HalfPacket>::size,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2259:62: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2259 | QuarterPacketSize = unpacket_traits<QuarterPacket>::size,
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2259:62: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2298:39: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2298 | PacketBlock<HalfPacket> kernel_half;
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2298:39: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
2304 | PacketBlock<QuarterPacket> kernel_quarter;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:2304:42: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h: In instantiation of 'void Eigen::internal::gebp_kernel<LhsScalar, RhsScalar, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>::operator()(const DataMapper&, const LhsScalar*, const RhsScalar*, Index, Index, Index, ResScalar, Index, Index, Index, Index) [with LhsScalar = double; RhsScalar = double; Index = long long int; DataMapper = Eigen::internal::blas_data_mapper<double, long long int, 0, 0, 1>; int mr = 4; int nr = 4; bool ConjugateLhs = false; bool ConjugateRhs = false; ResScalar = double]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:113:15: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
113 | gebp(res.getSubMapper(i2, 0), blockA, blockB, actual_mc, actual_kc,
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | (std::min)(size,i2), alpha, -1, -1, 0, 0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1920:103: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1920 | const int SResPacketHalfSize = unpacket_traits<typename unpacket_traits<SResPacket>::half>::size;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1921:138: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1921 | const int SResPacketQuarterSize = unpacket_traits<typename unpacket_traits<typename unpacket_traits<SResPacket>::half>::half>::size;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1921:138: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1977:135: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1977 | typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SResPacket>::half,SResPacket>::type SResPacketHalf;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1978:135: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1978 | typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SLhsPacket>::half,SLhsPacket>::type SLhsPacketHalf;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1979:135: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1979 | typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SRhsPacket>::half,SRhsPacket>::type SRhsPacketHalf;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1980:135: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
1980 | typedef typename conditional<SwappedTraits::LhsProgress>=8,typename unpacket_traits<SAccPacket>::half,SAccPacket>::type SAccPacketHalf;
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 16>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57: required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 4, 4> >'
22 | typedef typename find_best_packet<_Scalar,size>::type PacketScalar;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 4> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: required from 'class Eigen::Matrix<double, 4, 4>'
178 | class Matrix
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:155:52: required from 'void Eigen::internal::tribb_kernel<LhsScalar, RhsScalar, Index, mr, nr, ConjLhs, ConjRhs, ResInnerStride, UpLo>::operator()(ResScalar*, Index, Index, const LhsScalar*, const RhsScalar*, Index, Index, const ResScalar&) [with LhsScalar = double; RhsScalar = double; Index = long long int; int mr = 4; int nr = 4; bool ConjLhs = false; bool ConjRhs = false; int ResInnerStride = 1; int UpLo = 2; ResScalar = double]'
155 | Matrix<ResScalar,BlockSize,BlockSize,ColMajor> buffer((internal::constructor_without_unaligned_array_assert()));
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:116:13: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
116 | sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
190 | bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:190:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:208:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
208 | typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 4>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 4>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 4>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 4> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 4> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7: required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 4> >'
98 | class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:116:13: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
116 | sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 2, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:49:27: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
49 | << to_row_vector(a_ref) << ", "
| ~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:50:36: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
50 | << "b: " << to_row_vector(b_ref) << ", "
| ~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseUnaryOp<scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Matrix<double, -1, 1> >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:98:46: required from 'typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::MatrixBase<Derived>::squaredNorm() const [with Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
98 | return numext::real((*this).cwiseAbs2().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/variance.hpp:29:0: required from here
29 | double variance = diff.squaredNorm() / size_m1;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:370:46: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
370 | * (conj(h) * matA.col(i).tail(remainingSize)));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::SelfAdjointView<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::SelfAdjointView<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::SelfAdjointView<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::SelfAdjointView<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::SelfAdjointView<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::SelfAdjointView<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, 1>, Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:370:35: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
369 | hCoeffs.tail(n-i-1).noalias() = (matA.bottomRightCorner(remainingSize,remainingSize).template selfadjointView<Lower>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
370 | * (conj(h) * matA.col(i).tail(remainingSize)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:325:26: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
325 | mat.diagonal().tail(size-k).cwiseAbs().maxCoeff(&index_of_biggest_in_corner);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:325:43: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
325 | mat.diagonal().tail(size-k).cwiseAbs().maxCoeff(&index_of_biggest_in_corner);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:352:35: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
352 | Block<MatrixType,Dynamic,1> A21(mat,k+1,k,rs,1);
| ^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::DiagonalWrapper<const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >, Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::DiagonalWrapper<const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >, Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::DiagonalWrapper<const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >, Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::DiagonalWrapper<const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >, Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 1, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::DiagonalWrapper<const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >, Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 1, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::DiagonalWrapper<const Eigen::Block<Eigen::Diagonal<Eigen::Matrix<double, -1, -1>, 0>, -1, 1, false> >, Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >, 1>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:358:67: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
358 | temp.head(k) = mat.diagonal().real().head(k).asDiagonal() * A10.adjoint();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:126:7: required from 'class Eigen::internal::dense_product_base<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0, 6>'
126 | class dense_product_base<Lhs, Rhs, Option, InnerProduct>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:359:35: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
359 | mat.coeffRef(k,k) -= (A10 * temp.head(k)).value();
| ~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:361:32: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
361 | A21.noalias() -= A20 * temp.head(k);
| ~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:379:56: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
379 | ret = ret && (mat.col(j).tail(size-j-1).array()==Scalar(0)).all();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:387:32: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
387 | ret = ret && (A21.array()==Scalar(0)).all();
| ~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs_linesearch.hpp:254:0: required from 'int stan::optimization::WolfeLineSearch(FunctorType&, Scalar&, XType&, Scalar&, XType&, const XType&, const XType&, const Scalar&, const XType&, const Scalar&, const Scalar&, const Scalar&, const Scalar&, const Scalar&) [with FunctorType = ModelAdaptor<model_mdcev_namespace::model_mdcev, false>; Scalar = double; XType = Eigen::Matrix<double, -1, 1>]'
254 | x1.noalias() = x0 + alpha1 * p;
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs.hpp:202:0: required from 'int stan::optimization::BFGSMinimizer<FunctorType, QNUpdateType, Scalar, DimAtCompile>::step() [with FunctorType = stan::optimization::ModelAdaptor<model_mdcev_namespace::model_mdcev, false>; QNUpdateType = stan::optimization::BFGSUpdate_HInv<>; Scalar = double; int DimAtCompile = -1]'
202 | = WolfeLineSearch(_func, _alpha, _xk_1, _fk_1, _gk_1, _pk, _xk, _fk,
203 | _gk, _ls_opts.c1, _ls_opts.c2, _ls_opts.minAlpha,
204 | _ls_opts.maxLSIts, _ls_opts.maxLSRestarts);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/bfgs.hpp:138:0: required from 'int stan::services::optimize::bfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
138 | ret = bfgs.step();
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:517:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
517 | = stan::services::optimize::bfgs(model, *init_context_ptr,
518 | random_seed, id, init_radius,
519 | init_alpha,
520 | tol_obj,
521 | tol_rel_obj,
522 | tol_grad,
523 | tol_rel_grad,
524 | tol_param,
525 | num_iterations,
526 | save_iterations,
527 | refresh,
528 | interrupt, logger,
529 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0, 5>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs_update.hpp:34:0: required from 'Scalar stan::optimization::BFGSUpdate_HInv<Scalar, DimAtCompile>::update(const VectorT&, const VectorT&, bool) [with Scalar = double; int DimAtCompile = -1; VectorT = Eigen::Matrix<double, -1, 1>]'
34 | = HessianT::Identity(yk.size(), yk.size()) - rhok * sk * yk.transpose();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs.hpp:239:0: required from 'int stan::optimization::BFGSMinimizer<FunctorType, QNUpdateType, Scalar, DimAtCompile>::step() [with FunctorType = stan::optimization::ModelAdaptor<model_mdcev_namespace::model_mdcev, false>; QNUpdateType = stan::optimization::BFGSUpdate_HInv<>; Scalar = double; int DimAtCompile = -1]'
239 | Scalar B0fact = _qn.update(yk, sk, true);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/bfgs.hpp:138:0: required from 'int stan::services::optimize::bfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
138 | ret = bfgs.step();
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:517:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
517 | = stan::services::optimize::bfgs(model, *init_context_ptr,
518 | random_seed, id, init_radius,
519 | init_alpha,
520 | tol_obj,
521 | tol_rel_obj,
522 | tol_grad,
523 | tol_rel_grad,
524 | tol_param,
525 | num_iterations,
526 | save_iterations,
527 | refresh,
528 | interrupt, logger,
529 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_identity_op<double>, Eigen::Matrix<double, -1, -1> >, const Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, Eigen::Transpose<const Eigen::Matrix<double, -1, 1> >, 0> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs_update.hpp:34:0: required from 'Scalar stan::optimization::BFGSUpdate_HInv<Scalar, DimAtCompile>::update(const VectorT&, const VectorT&, bool) [with Scalar = double; int DimAtCompile = -1; VectorT = Eigen::Matrix<double, -1, 1>]'
34 | = HessianT::Identity(yk.size(), yk.size()) - rhok * sk * yk.transpose();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs.hpp:239:0: required from 'int stan::optimization::BFGSMinimizer<FunctorType, QNUpdateType, Scalar, DimAtCompile>::step() [with FunctorType = stan::optimization::ModelAdaptor<model_mdcev_namespace::model_mdcev, false>; QNUpdateType = stan::optimization::BFGSUpdate_HInv<>; Scalar = double; int DimAtCompile = -1]'
239 | Scalar B0fact = _qn.update(yk, sk, true);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/bfgs.hpp:138:0: required from 'int stan::services::optimize::bfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
138 | ret = bfgs.step();
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:517:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
517 | = stan::services::optimize::bfgs(model, *init_context_ptr,
518 | random_seed, id, init_radius,
519 | init_alpha,
520 | tol_obj,
521 | tol_rel_obj,
522 | tol_grad,
523 | tol_rel_grad,
524 | tol_param,
525 | num_iterations,
526 | save_iterations,
527 | refresh,
528 | interrupt, logger,
529 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1> >, const Eigen::Matrix<double, -1, -1> >, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs_update.hpp:37:0: required from 'Scalar stan::optimization::BFGSUpdate_HInv<Scalar, DimAtCompile>::update(const VectorT&, const VectorT&, bool) [with Scalar = double; int DimAtCompile = -1; VectorT = Eigen::Matrix<double, -1, 1>]'
37 | _Hk.noalias() = ((1.0 / B0fact) * Hupd) * Hupd.transpose();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs.hpp:239:0: required from 'int stan::optimization::BFGSMinimizer<FunctorType, QNUpdateType, Scalar, DimAtCompile>::step() [with FunctorType = stan::optimization::ModelAdaptor<model_mdcev_namespace::model_mdcev, false>; QNUpdateType = stan::optimization::BFGSUpdate_HInv<>; Scalar = double; int DimAtCompile = -1]'
239 | Scalar B0fact = _qn.update(yk, sk, true);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/bfgs.hpp:138:0: required from 'int stan::services::optimize::bfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
138 | ret = bfgs.step();
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:517:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
517 | = stan::services::optimize::bfgs(model, *init_context_ptr,
518 | random_seed, id, init_radius,
519 | init_alpha,
520 | tol_obj,
521 | tol_rel_obj,
522 | tol_grad,
523 | tol_rel_grad,
524 | tol_param,
525 | num_iterations,
526 | save_iterations,
527 | refresh,
528 | interrupt, logger,
529 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, -1>, 0>, Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs_update.hpp:40:0: required from 'Scalar stan::optimization::BFGSUpdate_HInv<Scalar, DimAtCompile>::update(const VectorT&, const VectorT&, bool) [with Scalar = double; int DimAtCompile = -1; VectorT = Eigen::Matrix<double, -1, 1>]'
40 | _Hk = Hupd * _Hk * Hupd.transpose();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs.hpp:239:0: required from 'int stan::optimization::BFGSMinimizer<FunctorType, QNUpdateType, Scalar, DimAtCompile>::step() [with FunctorType = stan::optimization::ModelAdaptor<model_mdcev_namespace::model_mdcev, false>; QNUpdateType = stan::optimization::BFGSUpdate_HInv<>; Scalar = double; int DimAtCompile = -1]'
239 | Scalar B0fact = _qn.update(yk, sk, true);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/bfgs.hpp:138:0: required from 'int stan::services::optimize::bfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
138 | ret = bfgs.step();
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:517:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
517 | = stan::services::optimize::bfgs(model, *init_context_ptr,
518 | random_seed, id, init_radius,
519 | init_alpha,
520 | tol_obj,
521 | tol_rel_obj,
522 | tol_grad,
523 | tol_rel_grad,
524 | tol_param,
525 | num_iterations,
526 | save_iterations,
527 | refresh,
528 | interrupt, logger,
529 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Matrix<double, -1, 1>, 0> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs_update.hpp:55:0: required from 'void stan::optimization::BFGSUpdate_HInv<Scalar, DimAtCompile>::search_direction(VectorT&, const VectorT&) const [with Scalar = double; int DimAtCompile = -1; VectorT = Eigen::Matrix<double, -1, 1>]'
55 | pk.noalias() = -(_Hk * gk);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs.hpp:247:0: required from 'int stan::optimization::BFGSMinimizer<FunctorType, QNUpdateType, Scalar, DimAtCompile>::step() [with FunctorType = stan::optimization::ModelAdaptor<model_mdcev_namespace::model_mdcev, false>; QNUpdateType = stan::optimization::BFGSUpdate_HInv<>; Scalar = double; int DimAtCompile = -1]'
247 | _qn.search_direction(_pk, _gk);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/bfgs.hpp:138:0: required from 'int stan::services::optimize::bfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
138 | ret = bfgs.step();
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:517:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
517 | = stan::services::optimize::bfgs(model, *init_context_ptr,
518 | random_seed, id, init_radius,
519 | init_alpha,
520 | tol_obj,
521 | tol_rel_obj,
522 | tol_grad,
523 | tol_rel_grad,
524 | tol_param,
525 | num_iterations,
526 | save_iterations,
527 | refresh,
528 | interrupt, logger,
529 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:760:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:760:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/plain_type.hpp:23:7: required by substitution of 'template<class T> using stan::plain_type_t = typename stan::plain_type<typename std::decay<_Tp>::type>::type [with T = const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >]'
23 | using plain_type_t = typename plain_type<std::decay_t<T>>::type;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:153:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
153 | using op_ret_type = plain_type_t<decltype(
stanExports_mdcev.h:760:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:157:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
157 | arena_t<ret_type> ret(arena_a.val().array() - as_array_or_scalar(b));
stanExports_mdcev.h:760:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:32:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<var_value<double>, -1, 1>; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
32 | using ret_type = return_var_matrix_t<inner_ret_type, Mat1, Mat2>;
stanExports_mdcev.h:759:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
759 | stan::math::elt_multiply(
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:50:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<var_value<double>, -1, 1>; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
50 | arena_t<ret_type> ret(arena_m1.val().cwiseProduct(arena_m2));
stanExports_mdcev.h:759:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
759 | stan::math::elt_multiply(
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:52:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<var_value<double>, -1, 1>; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
52 | arena_m1.adj().array() += arena_m2.array() * ret.adj().array();
stanExports_mdcev.h:759:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
759 | stan::math::elt_multiply(
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:146:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:758:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
758 | stan::math::multiply(
759 | stan::math::elt_multiply(
760 | stan::math::subtract(alpha1, static_cast<double>(1)), log_num),
761 | inv_scale), "assigning variable v1");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:147:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:147:0: required from 'auto stan::math::add(VarMat&&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; VarMat = const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
147 | = decltype((a.val().array() + as_array_or_scalar(b)).matrix());
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:169:0: required from 'auto stan::math::add(const Arith&, VarMat&&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; VarMat = const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
169 | return add(std::forward<VarMat>(b), a);
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:147:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:169:0: required from 'auto stan::math::add(const Arith&, VarMat&&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; VarMat = const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
169 | return add(std::forward<VarMat>(b), a);
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:150:0: required from 'auto stan::math::add(VarMat&&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; VarMat = const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
150 | arena_t<ret_type> ret(arena_a.val().array() + as_array_or_scalar(b));
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:169:0: required from 'auto stan::math::add(const Arith&, VarMat&&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; VarMat = const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
169 | return add(std::forward<VarMat>(b), a);
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:150:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:783:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
783 | stan::math::log(stan::math::add(quant_j, gamma_j)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:120:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
120 | using op_ret_type = decltype(a.val() - b.val());
stanExports_mdcev.h:787:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
787 | stan::math::subtract(stan::math::log1m(alpha_j), log_qpg),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:121:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
121 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:787:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
787 | stan::math::subtract(stan::math::log1m(alpha_j), log_qpg),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:124:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
124 | arena_t<ret_type> ret((arena_a.val() - arena_b.val()));
stanExports_mdcev.h:787:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
787 | stan::math::subtract(stan::math::log1m(alpha_j), log_qpg),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:795:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/plain_type.hpp:23:7: required by substitution of 'template<class T> using stan::plain_type_t = typename stan::plain_type<typename std::decay<_Tp>::type>::type [with T = const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >]'
23 | using plain_type_t = typename plain_type<std::decay_t<T>>::type;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:153:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
153 | using op_ret_type = plain_type_t<decltype(
stanExports_mdcev.h:795:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:157:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
157 | arena_t<ret_type> ret(arena_a.val().array() - as_array_or_scalar(b));
stanExports_mdcev.h:795:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:120:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; VarMat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
120 | using op_ret_type = decltype(a.val() - b.val());
stanExports_mdcev.h:796:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:121:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; VarMat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
121 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:796:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)> [with auto:61 = const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:794:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:32:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; Mat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
32 | using ret_type = return_var_matrix_t<inner_ret_type, Mat1, Mat2>;
stanExports_mdcev.h:794:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:36:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; Mat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
36 | arena_t<ret_type> ret(arena_m1.val().cwiseProduct(arena_m2.val()));
stanExports_mdcev.h:794:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:793:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >; VarMat = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:792:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
792 | stan::math::subtract(
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >; VarMat = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:792:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
792 | stan::math::subtract(
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/as_array_or_scalar.hpp:57:51: required from 'stan::math::as_array_or_scalar<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >&>(const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >&)::<lambda(auto:65&&)> [with auto:65 = const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >&]'
57 | return make_holder([](auto&& x) { return x.array(); }, std::forward<T>(v));
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::as_array_or_scalar<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >&>(const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >&)::<lambda(auto:65&&)>; _Args = {const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:792:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
792 | stan::math::subtract(
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >; VarMat = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:792:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
792 | stan::math::subtract(
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/plain_type.hpp:23:7: required by substitution of 'template<class T> using stan::plain_type_t = typename stan::plain_type<typename std::decay<_Tp>::type>::type [with T = const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >]'
23 | using plain_type_t = typename plain_type<std::decay_t<T>>::type;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:153:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >; VarMat = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
153 | using op_ret_type = plain_type_t<decltype(
stanExports_mdcev.h:792:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
792 | stan::math::subtract(
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:157:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >; VarMat = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
157 | arena_t<ret_type> ret(arena_a.val().array() - as_array_or_scalar(b));
stanExports_mdcev.h:792:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
792 | stan::math::subtract(
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:146:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:791:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
791 | stan::math::multiply(
792 | stan::math::subtract(
793 | stan::math::add(lpsi,
794 | stan::math::elt_multiply(
795 | stan::math::subtract(alpha_j, static_cast<double>(1)),
796 | stan::math::subtract(log_qpg, stan::math::log(gamma_j)))),
797 | stan::math::log(price_j)), inv_scale), "assigning variable v_j");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:170:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:823:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:172:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:823:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; VarMat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:822:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)> [with auto:61 = const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:830:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&>(const Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:32:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
32 | using ret_type = return_var_matrix_t<inner_ret_type, Mat1, Mat2>;
stanExports_mdcev.h:830:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:58:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
58 | arena_t<ret_type> ret(arena_m1.cwiseProduct(arena_m2.val()));
stanExports_mdcev.h:830:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:830:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:60:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
60 | arena_m2.adj().array() += arena_m1.array() * ret.adj().array();
stanExports_mdcev.h:830:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:147:0: required from 'auto stan::math::add(VarMat&&, const Arith&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
147 | = decltype((a.val().array() + as_array_or_scalar(b)).matrix());
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:169:0: required from 'auto stan::math::add(const Arith&, VarMat&&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
169 | return add(std::forward<VarMat>(b), a);
stanExports_mdcev.h:828:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:147:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:828:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:169:0: required from 'auto stan::math::add(const Arith&, VarMat&&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
169 | return add(std::forward<VarMat>(b), a);
stanExports_mdcev.h:828:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:150:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:828:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:113:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; VarMat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<var_value<double>, -1, 1> > >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
113 | using op_ret_type = decltype(a.val() + b.val());
stanExports_mdcev.h:820:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; VarMat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<var_value<double>, -1, 1> > >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:820:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:32:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
32 | using ret_type = return_var_matrix_t<inner_ret_type, Mat1, Mat2>;
stanExports_mdcev.h:832:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:58:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
58 | arena_t<ret_type> ret(arena_m1.cwiseProduct(arena_m2.val()));
stanExports_mdcev.h:832:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:121:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; VarMat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
121 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:819:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
819 | stan::math::subtract(
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:124:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; VarMat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
124 | arena_t<ret_type> ret((arena_a.val() - arena_b.val()));
stanExports_mdcev.h:819:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
819 | stan::math::subtract(
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:147:0: required from 'auto stan::math::add(VarMat&&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
147 | = decltype((a.val().array() + as_array_or_scalar(b)).matrix());
stanExports_mdcev.h:818:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
818 | stan::math::add(
819 | stan::math::subtract(
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:148:0: required from 'auto stan::math::add(VarMat&&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
148 | using ret_type = return_var_matrix_t<op_ret_type, VarMat>;
stanExports_mdcev.h:818:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
818 | stan::math::add(
819 | stan::math::subtract(
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:150:0: required from 'auto stan::math::add(VarMat&&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
150 | arena_t<ret_type> ret(arena_a.val().array() + as_array_or_scalar(b));
stanExports_mdcev.h:818:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
818 | stan::math::add(
819 | stan::math::subtract(
820 | stan::math::add(
821 | stan::math::add(
822 | stan::math::add(
823 | stan::math::multiply(
824 | stan::math::subtract(static_cast<double>(1), M),
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
826 | stan::math::rows_dot_product(nonzero, v_j)),
827 | stan::math::log(
828 | stan::math::add(static_cast<double>(1),
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
832 | stan::math::elt_multiply(M, lse)), log_M_fact),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:841:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
841 | stan::math::subtract(stan::math::log1m(alpha1), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:841:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
841 | stan::math::subtract(stan::math::log1m(alpha1), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:841:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
841 | stan::math::subtract(stan::math::log1m(alpha1), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/plain_type.hpp:23:7: required by substitution of 'template<class T> using stan::plain_type_t = typename stan::plain_type<typename std::decay<_Tp>::type>::type [with T = const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >]'
23 | using plain_type_t = typename plain_type<std::decay_t<T>>::type;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:153:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
153 | using op_ret_type = plain_type_t<decltype(
stanExports_mdcev.h:841:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
841 | stan::math::subtract(stan::math::log1m(alpha1), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:157:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, const Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
157 | arena_t<ret_type> ret(arena_a.val().array() - as_array_or_scalar(b));
stanExports_mdcev.h:841:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
841 | stan::math::subtract(stan::math::log1m(alpha1), log_num),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:113:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, 1> > >; VarMat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
113 | using op_ret_type = decltype(a.val() + b.val());
stanExports_mdcev.h:858:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
859 | stan::math::rows_dot_product(nonzero,
860 | stan::math::elt_multiply(price_j,
861 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, 1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, 1> > >; VarMat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:858:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
858 | stan::math::add(stan::math::exp(stan::math::minus(logf1)),
859 | stan::math::rows_dot_product(nonzero,
860 | stan::math::elt_multiply(price_j,
861 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:32:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<var_value<double>, -1, 1>; Mat2 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
32 | using ret_type = return_var_matrix_t<inner_ret_type, Mat1, Mat2>;
stanExports_mdcev.h:879:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
879 | stan::math::elt_multiply(
880 | stan::math::subtract(alpha1, static_cast<double>(1)),
881 | stan::math::log(income)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >; VarMat = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:882:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
882 | stan::math::subtract(lpsi, stan::math::log(price_j))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/plain_type.hpp:23:7: required by substitution of 'template<class T> using stan::plain_type_t = typename stan::plain_type<typename std::decay<_Tp>::type>::type [with T = const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > > > > >]'
23 | using plain_type_t = typename plain_type<std::decay_t<T>>::type;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:153:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >; VarMat = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
153 | using op_ret_type = plain_type_t<decltype(
stanExports_mdcev.h:882:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
882 | stan::math::subtract(lpsi, stan::math::log(price_j))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)> [with auto:61 = stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, void>&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:891:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:65:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; T2 = Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, -1, 1> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
65 | using return_t
stanExports_mdcev.h:891:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:891:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:891:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0, 5>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:891:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)> [with auto:61 = const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:31:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>; Mat2 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
31 | = decltype((value_of(m1).array() / value_of(m2).array()).matrix());
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)> [with auto:61 = const stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:31:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>; Mat2 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
31 | = decltype((value_of(m1).array() / value_of(m2).array()).matrix());
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:31:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>; Mat2 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
31 | = decltype((value_of(m1).array() / value_of(m2).array()).matrix());
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&>(const Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Block<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:32:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>; Mat2 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
32 | using ret_type = return_var_matrix_t<inner_ret_type, Mat1, Mat2>;
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:36:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::Block<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, -1, 1, true>; Mat2 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
36 | arena_t<ret_type> ret(arena_m1.val().array() / arena_m2.val().array());
stanExports_mdcev.h:890:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
890 | stan::math::elt_divide(stan::math::col(v_1, 1),
891 | stan::math::multiply(v_1,
892 | stan::math::rep_vector(static_cast<double>(1), (J + 1)))),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:120:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, 1>; VarMat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
120 | using op_ret_type = decltype(a.val() - b.val());
stanExports_mdcev.h:900:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
900 | stan::math::subtract(stan::model::deep_copy(log_like),
901 | stan::math::log1m(like_trunc)), "assigning variable log_like");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:121:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, 1>; VarMat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log1m_fun, Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
121 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:900:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
900 | stan::math::subtract(stan::model::deep_copy(log_like),
901 | stan::math::log1m(like_trunc)), "assigning variable log_like");
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:32:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
32 | using ret_type = return_var_matrix_t<inner_ret_type, Mat1, Mat2>;
stanExports_mdcev.h:1074:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_multiply.hpp:50:0: required from 'auto stan::math::elt_multiply(const Mat1&, const Mat2&) [with Mat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; Mat2 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
50 | arena_t<ret_type> ret(arena_m1.val().cwiseProduct(arena_m2));
stanExports_mdcev.h:1074:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; VarMat2 = const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:1074:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)> [with auto:61 = const stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, void>&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:1073:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::math::elt_divide(
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
1075 | phi_ij), "assigning variable phi_quant_term");
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:31:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; Mat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
31 | = decltype((value_of(m1).array() / value_of(m2).array()).matrix());
stanExports_mdcev.h:1073:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::math::elt_divide(
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
1075 | phi_ij), "assigning variable phi_quant_term");
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:31:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; Mat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
31 | = decltype((value_of(m1).array() / value_of(m2).array()).matrix());
stanExports_mdcev.h:1073:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::math::elt_divide(
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
1075 | phi_ij), "assigning variable phi_quant_term");
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:31:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; Mat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
31 | = decltype((value_of(m1).array() / value_of(m2).array()).matrix());
stanExports_mdcev.h:1073:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::math::elt_divide(
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
1075 | phi_ij), "assigning variable phi_quant_term");
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&>(const arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:32:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; Mat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
32 | using ret_type = return_var_matrix_t<inner_ret_type, Mat1, Mat2>;
stanExports_mdcev.h:1073:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::math::elt_divide(
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
1075 | phi_ij), "assigning variable phi_quant_term");
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:36:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; Mat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
36 | arena_t<ret_type> ret(arena_m1.val().array() / arena_m2.val().array());
stanExports_mdcev.h:1073:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1073 | stan::math::elt_divide(
1074 | stan::math::add(stan::math::elt_multiply(phi_ij, quant_j), gamma),
1075 | phi_ij), "assigning variable phi_quant_term");
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:180:0: required from 'auto stan::math::subtract(const Arith&, const VarMat&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
180 | (as_array_or_scalar(a) - b.val().array()).matrix())>;
stanExports_mdcev.h:1113:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1113 | stan::math::subtract(static_cast<double>(1), alpha),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/plain_type.hpp:23:7: required by substitution of 'template<class T> using stan::plain_type_t = typename stan::plain_type<typename std::decay<_Tp>::type>::type [with T = const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >]'
23 | using plain_type_t = typename plain_type<std::decay_t<T>>::type;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:179:0: required from 'auto stan::math::subtract(const Arith&, const VarMat&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
179 | using op_ret_type = plain_type_t<decltype(
stanExports_mdcev.h:1113:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1113 | stan::math::subtract(static_cast<double>(1), alpha),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:183:0: required from 'auto stan::math::subtract(const Arith&, const VarMat&) [with Arith = double; VarMat = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
183 | arena_t<ret_type> ret(as_array_or_scalar(a) - arena_b.val().array());
stanExports_mdcev.h:1113:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1113 | stan::math::subtract(static_cast<double>(1), alpha),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:1153:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:1153:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:154:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
154 | (a.val().array() - as_array_or_scalar(b)).matrix())>;
stanExports_mdcev.h:1153:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/plain_type.hpp:23:7: required by substitution of 'template<class T> using stan::plain_type_t = typename stan::plain_type<typename std::decay<_Tp>::type>::type [with T = const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, Eigen::Matrix<stan::math::var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >]'
23 | using plain_type_t = typename plain_type<std::decay_t<T>>::type;
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:153:0: required from 'auto stan::math::subtract(const VarMat&, const Arith&) [with Arith = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; VarMat = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, Eigen::Matrix<var_value<double>, -1, 1>&, void>::apply<Eigen::Matrix<stan::math::var_value<double>, -1, 1>&>(Eigen::Matrix<stan::math::var_value<double>, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_st_arithmetic<T>* <anonymous> = 0; stan::require_rev_matrix_t<VarMat>* <anonymous> = 0]'
153 | using op_ret_type = plain_type_t<decltype(
stanExports_mdcev.h:1153:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:121:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, 1>; VarMat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
121 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:1152:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1152 | stan::math::subtract(
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
1154 | stan::math::rows_dot_product(nonzero, log_phi_quant_term)),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:31:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Mat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
31 | = decltype((value_of(m1).array() / value_of(m2).array()).matrix());
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:31:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Mat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
31 | = decltype((value_of(m1).array() / value_of(m2).array()).matrix());
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: required from 'struct stan::is_base_pointer_convertible<Eigen::EigenBase, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, 1>&>(const Eigen::Matrix<var_value<double>, -1, 1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
29 | = decltype(f(std::declval<std::remove_reference_t<Derived> *>()))::value
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_eigen.hpp:21:71: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:32:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Mat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
32 | using ret_type = return_var_matrix_t<inner_ret_type, Mat1, Mat2>;
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:59:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Mat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
59 | arena_t<ret_type> ret(arena_m1.array() / arena_m2.val().array());
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:62:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Mat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
62 | -= ret.val().array() * ret.adj().array() / arena_m2.val().array();
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/elt_divide.hpp:62:0: required from 'auto stan::math::elt_divide(const Mat1&, const Mat2&) [with Mat1 = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >; Mat2 = Eigen::Matrix<var_value<double>, -1, 1>; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_any_rev_matrix_t<T1, T2>* <anonymous> = 0]'
62 | -= ret.val().array() * ret.adj().array() / arena_m2.val().array();
stanExports_mdcev.h:1157:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, 1>; VarMat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >, void>::apply<stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >(stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Map<Eigen::Matrix<var_value<double>, -1, 1> > >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:1151:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1151 | stan::math::add(
1152 | stan::math::subtract(
1153 | stan::math::subtract(stan::math::log(alpha_comp), log_num),
1154 | stan::math::rows_dot_product(nonzero, log_phi_quant_term)),
1155 | stan::math::log(
1156 | stan::math::add(
1157 | stan::math::elt_divide(stan::math::exp(log_num), alpha_comp),
1158 | stan::math::rows_dot_product(nonzero,
1159 | stan::math::elt_multiply(phi_quant_term, price_j))))),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:113:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
113 | using op_ret_type = decltype(a.val() + b.val());
stanExports_mdcev.h:1168:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1168 | stan::math::add(stan::math::minus(lpsi), log_phi_quant_term),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:1168:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1168 | stan::math::add(stan::math::minus(lpsi), log_phi_quant_term),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:1167:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1167 | stan::math::add(
1168 | stan::math::add(stan::math::minus(lpsi), log_phi_quant_term),
1169 | log_price_j),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:120:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; VarMat2 = Eigen::Replicate<Eigen::Matrix<var_value<double>, -1, 1>, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
120 | using op_ret_type = decltype(a.val() - b.val());
stanExports_mdcev.h:1166:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1166 | stan::math::subtract(
1167 | stan::math::add(
1168 | stan::math::add(stan::math::minus(lpsi), log_phi_quant_term),
1169 | log_price_j),
1170 | stan::math::rep_matrix(
1171 | stan::math::elt_multiply(alpha_comp, log_num), J)), inv_scale),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> >::val_Op, const Eigen::Replicate<Eigen::Matrix<stan::math::var_value<double>, -1, 1>, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:121:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; VarMat2 = Eigen::Replicate<Eigen::Matrix<var_value<double>, -1, 1>, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
121 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:1166:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1166 | stan::math::subtract(
1167 | stan::math::add(
1168 | stan::math::add(stan::math::minus(lpsi), log_phi_quant_term),
1169 | log_price_j),
1170 | stan::math::rep_matrix(
1171 | stan::math::elt_multiply(alpha_comp, log_num), J)), inv_scale),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/multiply.hpp:36:0: required from 'auto stan::math::multiply(T1&&, T2&&) [with T1 = Eigen::CwiseUnaryOp<apply_scalar_unary<exp_fun, Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >, void>::apply<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >(Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<stan::math::var_value<double> >, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >&&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<var_value<double> >, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> > >; T2 = Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_all_matrix_t<EigMat1, EigMat2>* <anonymous> = 0; stan::require_return_type_t<stan::is_var, T1, T2>* <anonymous> = 0; stan::require_not_row_and_col_vector_t<T1, T2>* <anonymous> = 0]'
36 | using return_t
stanExports_mdcev.h:1179:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1179 | stan::math::multiply(stan::math::exp(stan::math::minus(g)), ones_j)),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0, 5>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, 1>, Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:1179:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1179 | stan::math::multiply(stan::math::exp(stan::math::minus(g)), ones_j)),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, 1>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, 1>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, 1>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, 1>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Transpose<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Matrix<double, -1, 1>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:1179:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1179 | stan::math::multiply(stan::math::exp(stan::math::minus(g)), ones_j)),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:121:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; VarMat2 = arena_matrix<Eigen::Matrix<var_value<double>, -1, 1> >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
121 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:1175:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1175 | stan::math::subtract(
1176 | stan::math::add(log_j_det,
1177 | stan::math::rows_dot_product(nonzero,
1178 | stan::math::subtract(stan::math::minus(g), log_scale))),
1179 | stan::math::multiply(stan::math::exp(stan::math::minus(g)), ones_j)),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, const Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:121:0: required from 'auto stan::math::subtract(const VarMat1&, const VarMat2&) [with VarMat1 = arena_matrix<Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>, void>; VarMat2 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
121 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:1197:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:113:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; VarMat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
113 | using op_ret_type = decltype(a.val() + b.val());
stanExports_mdcev.h:1196:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >::val_Op, Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > >::val_Op, Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log_fun, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:114:0: required from 'auto stan::math::add(VarMat1&&, VarMat2&&) [with VarMat1 = Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>; VarMat2 = Eigen::CwiseUnaryOp<apply_scalar_unary<log_fun, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&, void>::apply<const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1> >; stan::require_all_rev_matrix_t<VarMat1, VarMat2>* <anonymous> = 0]'
114 | using ret_type = return_var_matrix_t<op_ret_type, VarMat1, VarMat2>;
stanExports_mdcev.h:1196:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1196 | stan::math::add(
1197 | stan::math::subtract(
1198 | stan::math::add(stan::math::minus(lpsi),
1199 | log_price_j), log_phi_ij), stan::math::log(gamma)),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:42: required from 'stan::math::log_sum_exp<arena_matrix<Eigen::Matrix<double, -1, 1> >&>(arena_matrix<Eigen::Matrix<double, -1, 1> >&)::<lambda(auto:334&&)> [with auto:334 = stan::math::arena_matrix<Eigen::Matrix<double, -1, 1> >&]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~^~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_sum_exp.hpp:72:0: required from 'stan::math::var stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_eigen_st<stan::is_var, Op>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; var = var_value<double>]'
72 | var res = log_sum_exp(arena_v_val);
stanExports_mdcev.h:2452:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2452 | stan::model::assign(log_like, stan::math::log_sum_exp(lps),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_sum_exp.hpp:92:52: required from 'stan::math::log_sum_exp<arena_matrix<Eigen::Matrix<double, -1, 1> >&>(arena_matrix<Eigen::Matrix<double, -1, 1> >&)::<lambda(auto:334&&)> [with auto:334 = stan::math::arena_matrix<Eigen::Matrix<double, -1, 1> >&]'
92 | return max + std::log((v_ref.array() - max).exp().sum());
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_sum_exp.hpp:72:0: required from 'stan::math::var stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_eigen_st<stan::is_var, Op>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; var = var_value<double>]'
72 | var res = log_sum_exp(arena_v_val);
stanExports_mdcev.h:2452:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2452 | stan::model::assign(log_like, stan::math::log_sum_exp(lps),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_sum_exp.hpp:75:0: required from 'stan::math::var stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_eigen_st<stan::is_var, Op>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; var = var_value<double>]'
75 | += res.adj() * (arena_v_val.array().val() - res.val()).exp().matrix();
stanExports_mdcev.h:2452:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2452 | stan::model::assign(log_like, stan::math::log_sum_exp(lps),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_sum_exp.hpp:75:0: required from 'stan::math::var stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_eigen_st<stan::is_var, Op>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; var = var_value<double>]'
75 | += res.adj() * (arena_v_val.array().val() - res.val()).exp().matrix();
stanExports_mdcev.h:2452:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2452 | stan::model::assign(log_like, stan::math::log_sum_exp(lps),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_sum_exp.hpp:75:0: required from 'stan::math::var stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_eigen_st<stan::is_var, Op>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; var = var_value<double>]'
75 | += res.adj() * (arena_v_val.array().val() - res.val()).exp().matrix();
stanExports_mdcev.h:2452:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2452 | stan::model::assign(log_like, stan::math::log_sum_exp(lps),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_sum_exp.hpp:75:0: required from 'stan::math::var stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_eigen_st<stan::is_var, Op>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; var = var_value<double>]'
75 | += res.adj() * (arena_v_val.array().val() - res.val()).exp().matrix();
stanExports_mdcev.h:2452:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2452 | stan::model::assign(log_like, stan::math::log_sum_exp(lps),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::MatrixWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >::val_Op, Eigen::ArrayWrapper<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_sum_exp.hpp:75:0: required from 'stan::math::var stan::math::log_sum_exp(T&&) [with T = Eigen::Matrix<var_value<double>, -1, 1>&; stan::require_eigen_st<stan::is_var, Op>* <anonymous> = 0; stan::require_not_var_matrix_t<Container>* <anonymous> = 0; var = var_value<double>]'
75 | += res.adj() * (arena_v_val.array().val() - res.val()).exp().matrix();
stanExports_mdcev.h:2452:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2452 | stan::model::assign(log_like, stan::math::log_sum_exp(lps),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)> [with auto:61 = Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:57:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
57 | decltype(auto) y_val = to_ref(as_value_column_array_or_scalar(y_ref));
stanExports_mdcev.h:2461:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2461 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2462 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)> [with auto:61 = Eigen::ArrayWrapper<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:57:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
57 | decltype(auto) y_val = to_ref(as_value_column_array_or_scalar(y_ref));
stanExports_mdcev.h:2461:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2461 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2462 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:76:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
76 | const auto& y_scaled = to_ref((y_val - mu_val) * inv_sigma);
stanExports_mdcev.h:2461:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2461 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2462 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:76:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
76 | const auto& y_scaled = to_ref((y_val - mu_val) * inv_sigma);
stanExports_mdcev.h:2461:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2461 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2462 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Array<double, -1, 1>, const Eigen::Array<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:78:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
78 | = to_ref_if<is_autodiff_v<T_scale>>(y_scaled * y_scaled);
stanExports_mdcev.h:2461:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2461 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2462 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:93:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
93 | inv_sigma * y_scaled);
stanExports_mdcev.h:2461:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2461 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2462 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:95:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
95 | partials<0>(ops_partials) = -scaled_diff;
stanExports_mdcev.h:2461:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2461 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2462 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)> [with auto:61 = Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:65:64: required from 'stan::return_type_t<T, L, U> stan::math::beta_lpdf(const T_y&, const T_scale_succ&, const T_scale_fail&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>; T_scale_succ = double; T_scale_fail = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
65 | decltype(auto) y_val = to_ref(as_value_column_array_or_scalar(y_ref));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
stanExports_mdcev.h:2481:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2481 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2482 | stan::model::rvalue(alpha, "alpha",
2483 | stan::model::index_uni(1)), prior_alpha_shape,
2484 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/value_of.hpp:85:27: required from 'stan::math::value_of<Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> > >(Eigen::ArrayWrapper<const Eigen::Matrix<var_value<double>, -1, 1> >&&)::<lambda(auto:61&&)> [with auto:61 = Eigen::ArrayWrapper<const Eigen::Matrix<stan::math::var_value<double>, -1, 1> >&]'
85 | return a.unaryExpr([](auto&& scal) { return value_of(scal); });
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/holder.hpp:417:28: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:65:64: required from 'stan::return_type_t<T, L, U> stan::math::beta_lpdf(const T_y&, const T_scale_succ&, const T_scale_fail&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>; T_scale_succ = double; T_scale_fail = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
65 | decltype(auto) y_val = to_ref(as_value_column_array_or_scalar(y_ref));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
stanExports_mdcev.h:2481:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2481 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2482 | stan::model::rvalue(alpha, "alpha",
2483 | stan::model::index_uni(1)), prior_alpha_shape,
2484 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Array<double, -1, 1>&, void>::apply<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Array<double, -1, 1>&, void>::apply<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Array<double, -1, 1>&, void>::apply<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Array<double, -1, 1>&, void>::apply<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Array<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Array<double, -1, 1>&, void>::apply<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::Array<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::Array<double, -1, 1>&, void>::apply<Eigen::Array<double, -1, 1>&>(Eigen::Array<double, -1, 1>&)::<lambda(auto:12&&)> [with auto:12 = Eigen::Array<double, -1, 1>&]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:78:37: required from 'stan::return_type_t<T, L, U> stan::math::beta_lpdf(const T_y&, const T_scale_succ&, const T_scale_fail&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>; T_scale_succ = double; T_scale_fail = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
78 | const auto& log1m_y = to_ref(log1m(y_val));
| ~~~~~^~~~~~~
stanExports_mdcev.h:2481:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2481 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2482 | stan::model::rvalue(alpha, "alpha",
2483 | stan::model::index_uni(1)), prior_alpha_shape,
2484 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:98:27: required from 'stan::return_type_t<T, L, U> stan::math::beta_lpdf(const T_y&, const T_scale_succ&, const T_scale_fail&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>; T_scale_succ = double; T_scale_fail = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
98 | = (alpha_val - 1) / y_val + (beta_val - 1) / (y_val - 1);
| ~~~~~~~~~~~~~~~~^~~~~~~
stanExports_mdcev.h:2481:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2481 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2482 | stan::model::rvalue(alpha, "alpha",
2483 | stan::model::index_uni(1)), prior_alpha_shape,
2484 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:98:61: required from 'stan::return_type_t<T, L, U> stan::math::beta_lpdf(const T_y&, const T_scale_succ&, const T_scale_fail&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>; T_scale_succ = double; T_scale_fail = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
98 | = (alpha_val - 1) / y_val + (beta_val - 1) / (y_val - 1);
| ~~~~~~~^~~~
stanExports_mdcev.h:2481:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2481 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2482 | stan::model::rvalue(alpha, "alpha",
2483 | stan::model::index_uni(1)), prior_alpha_shape,
2484 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:98:52: required from 'stan::return_type_t<T, L, U> stan::math::beta_lpdf(const T_y&, const T_scale_succ&, const T_scale_fail&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>; T_scale_succ = double; T_scale_fail = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
98 | = (alpha_val - 1) / y_val + (beta_val - 1) / (y_val - 1);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
stanExports_mdcev.h:2481:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2481 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2482 | stan::model::rvalue(alpha, "alpha",
2483 | stan::model::index_uni(1)), prior_alpha_shape,
2484 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, int>, const Eigen::Array<double, -1, 1>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, const Eigen::Array<int, -1, 1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:98:35: required from 'stan::return_type_t<T, L, U> stan::math::beta_lpdf(const T_y&, const T_scale_succ&, const T_scale_fail&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>; T_scale_succ = double; T_scale_fail = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
98 | = (alpha_val - 1) / y_val + (beta_val - 1) / (y_val - 1);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2481:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2481 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2482 | stan::model::rvalue(alpha, "alpha",
2483 | stan::model::index_uni(1)), prior_alpha_shape,
2484 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rows_dot_product.hpp:30:26: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, Mat1::RowsAtCompileTime, 1> stan::math::rows_dot_product(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_eigen_vt<stan::is_var, Mat1, Mat2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
30 | return (v1.cwiseProduct(v2)).rowwise().sum();
| ~~~~~~~~~~~~~~~~^~~~~
stanExports_mdcev.h:825:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from 'class Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>'
56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rows_dot_product.hpp:30:45: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, Mat1::RowsAtCompileTime, 1> stan::math::rows_dot_product(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::Matrix<double, -1, -1>; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_eigen_vt<stan::is_var, Mat1, Mat2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
30 | return (v1.cwiseProduct(v2)).rowwise().sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:825:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rows_dot_product.hpp:30:26: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, Mat1::RowsAtCompileTime, 1> stan::math::rows_dot_product(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_eigen_vt<stan::is_var, Mat1, Mat2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
30 | return (v1.cwiseProduct(v2)).rowwise().sum();
| ~~~~~~~~~~~~~~~~^~~~~
stanExports_mdcev.h:829:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > >, Eigen::internal::member_sum<double, double>, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > >, Eigen::internal::member_sum<double, double>, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > >, Eigen::internal::member_sum<double, double>, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from 'class Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > > >, Eigen::internal::member_sum<double, double>, 1>'
56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rows_dot_product.hpp:30:45: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, Mat1::RowsAtCompileTime, 1> stan::math::rows_dot_product(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_exp_op<double>, const Eigen::ArrayWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > > > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_eigen_vt<stan::is_var, Mat1, Mat2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
30 | return (v1.cwiseProduct(v2)).rowwise().sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:829:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, -1>; T8__ = Eigen::Matrix<double, -1, 1>; T9__ = Eigen::Matrix<double, -1, -1>; T10__ = double; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T8__, void>::type = double; typename stan::base_type<T9__, void>::type = double; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = double; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
829 | stan::math::rows_dot_product(nonzero,
830 | stan::math::elt_multiply(price_j,
831 | stan::math::exp(stan::math::minus(logf))))))),
stanExports_mdcev.h:2749:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2749 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2750 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2751 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:311:41: required from 'struct Eigen::internal::unary_evaluator<Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >, Eigen::internal::IndexBased, double>'
311 | CoeffReadCost = evaluator<ArgType>::CoeffReadCost,
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from 'struct Eigen::internal::evaluator<Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >'
90 | struct evaluator : public unary_evaluator<T>
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Ref.h:44:50: required from 'struct Eigen::internal::traits<Eigen::Ref<Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> > >::match<Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> > >'
44 | DerivedAlignment = int(evaluator<Derived>::Alignment),
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/ref_type.hpp:44:38: required from 'struct stan::ref_type_if<true, const Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >&, void>'
44 | template match<T_dec>::MatchAtCompileTime
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/ref_type.hpp:56:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:934:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
934 | const auto& nonzero = stan::math::to_ref(nonzero_arg__);
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, -1, -1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, -1, -1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, -1, -1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Replicate.h:61:65: required from 'class Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, -1, -1>'
61 | template<typename MatrixType,int RowFactor,int ColFactor> class Replicate
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rep_matrix.hpp:60:23: required from 'auto stan::math::rep_matrix(const Vec&, int) [with Vec = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >; stan::require_eigen_vector_t<C>* <anonymous> = 0]'
60 | return x.replicate(1, n);
| ~~~~~~~~~~~^~~~~~
stanExports_mdcev.h:952:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
952 | stan::math::rep_matrix(
953 | stan::math::multiply((1 - alpha), price_j_num), J),
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/inv.hpp:61:74: required from 'stan::math::inv<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:50&&)> [with auto:50 = const Eigen::Matrix<double, -1, 1>&]'
61 | std::forward<Container>(x), [](auto&& v) { return v.array().inverse(); });
| ~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:46:44: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:954:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
954 | stan::math::inv(phi_quant_term)), "assigning variable jac_mat");
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:140:7: required from 'class Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
140 | class MatrixWrapper : public MatrixBase<MatrixWrapper<ExpressionType> >
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:48:71: required from 'stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::inv<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:50&&)>, const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&, stan::math::inv<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:50&&)>&&)::<lambda(auto:16&&)> [with auto:16 = Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >]'
48 | [](auto&& xx) { return std::forward<decltype(xx)>(xx).matrix(); },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::apply_vector_unary<const Eigen::Matrix<double, -1, 1>&, void>::apply<stan::math::inv<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:50&&)>, const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&, stan::math::inv<const Eigen::Matrix<double, -1, 1>&>(const Eigen::Matrix<double, -1, 1>&)::<lambda(auto:50&&)>&&)::<lambda(auto:16&&)>; _Args = {Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > >&&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:954:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
954 | stan::math::inv(phi_quant_term)), "assigning variable jac_mat");
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:958:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
958 | stan::math::diag_post_multiply(stan::model::deep_copy(jac_mat),
959 | nonzero), stan::math::subtract(static_cast<double>(1), nonzero)),
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rows_dot_product.hpp:30:26: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, Mat1::RowsAtCompileTime, 1> stan::math::rows_dot_product(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_eigen_vt<stan::is_var, Mat1, Mat2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
30 | return (v1.cwiseProduct(v2)).rowwise().sum();
| ~~~~~~~~~~~~~~~~^~~~~
stanExports_mdcev.h:1158:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1158 | stan::math::rows_dot_product(nonzero,
1159 | stan::math::elt_multiply(phi_quant_term, price_j))))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum<double, double>, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum<double, double>, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum<double, double>, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from 'class Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > > >, Eigen::internal::member_sum<double, double>, 1>'
56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rows_dot_product.hpp:30:45: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, Mat1::RowsAtCompileTime, 1> stan::math::rows_dot_product(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Matrix<double, -1, -1>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_eigen_vt<stan::is_var, Mat1, Mat2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
30 | return (v1.cwiseProduct(v2)).rowwise().sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:1158:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1158 | stan::math::rows_dot_product(nonzero,
1159 | stan::math::elt_multiply(phi_quant_term, price_j))))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rows_dot_product.hpp:30:26: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, Mat1::RowsAtCompileTime, 1> stan::math::rows_dot_product(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_eigen_vt<stan::is_var, Mat1, Mat2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
30 | return (v1.cwiseProduct(v2)).rowwise().sum();
| ~~~~~~~~~~~~~~~~^~~~~
stanExports_mdcev.h:1177:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1177 | stan::math::rows_dot_product(nonzero,
1178 | stan::math::subtract(stan::math::minus(g), log_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >, Eigen::internal::member_sum<double, double>, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >, Eigen::internal::member_sum<double, double>, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >, Eigen::internal::member_sum<double, double>, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:56:7: required from 'class Eigen::PartialReduxExpr<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > > >, Eigen::internal::member_sum<double, double>, 1>'
56 | class PartialReduxExpr : public internal::dense_xpr_base< PartialReduxExpr<MatrixType, MemberOp, Direction> >::type,
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/rows_dot_product.hpp:30:45: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, Mat1::RowsAtCompileTime, 1> stan::math::rows_dot_product(const Mat1&, const Mat2&) [with Mat1 = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Mat2 = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_opposite_op<double>, const Eigen::Matrix<double, -1, -1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, -1> > > >; stan::require_all_eigen_t<T_desired, T_actual>* <anonymous> = 0; stan::require_all_not_eigen_vt<stan::is_var, Mat1, Mat2>* <anonymous> = 0; typename stan::return_type<T1, T2>::type = double]'
30 | return (v1.cwiseProduct(v2)).rowwise().sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:1177:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1177 | stan::math::rows_dot_product(nonzero,
1178 | stan::math::subtract(stan::math::minus(g), log_scale))),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_finite<Eigen::Matrix<double, 2, 1> >(const char*, const char*, const Eigen::Matrix<double, 2, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, 2, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_finite.hpp:29:20: required from 'void stan::math::check_finite(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, 2, 1>]'
29 | elementwise_check([](double x) { return std::isfinite(x); }, function, name,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | y, "finite");
| ~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:32:15: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
32 | check_finite("hypergeometric_pFq", "a", a_ref);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, 2, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_finite<Eigen::Matrix<double, 1, 1, 0, 1, 1> >(const char*, const char*, const Eigen::Matrix<double, 1, 1, 0, 1, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, 1, 1, 0, 1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_finite.hpp:29:20: required from 'void stan::math::check_finite(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, 1, 1, 0, 1, 1>]'
29 | elementwise_check([](double x) { return std::isfinite(x); }, function, name,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | y, "finite");
| ~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:33:15: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
33 | check_finite("hypergeometric_pFq", "b", b_ref);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan<Eigen::Matrix<double, 2, 1> >(const char*, const char*, const Eigen::Matrix<double, 2, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, 2, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from 'void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, 2, 1>]'
28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | "not nan");
| ~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:35:16: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
35 | check_not_nan("hypergeometric_pFq", "a", a_ref);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, 2, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan<Eigen::Matrix<double, 1, 1, 0, 1, 1> >(const char*, const char*, const Eigen::Matrix<double, 1, 1, 0, 1, 1>&)::<lambda(double)>; T = Eigen::Matrix<double, 1, 1, 0, 1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from 'void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Matrix<double, 1, 1, 0, 1, 1>]'
28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | "not nan");
| ~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_pFq.hpp:36:16: required from 'stan::return_type_t<T_x, T_sigma, T_l> stan::math::hypergeometric_pFq(Ta&&, Tb&&, Tz&&) [with Ta = Eigen::Matrix<double, 2, 1>&; Tb = Eigen::Matrix<double, 1, 1, 0, 1, 1>&; Tz = const double&; stan::require_all_vector_st<std::is_arithmetic, Ta, Tb>* <anonymous> = 0; stan::require_arithmetic_t<Tz>* <anonymous> = 0; stan::return_type_t<T_x, T_sigma, T_l> = double]'
36 | check_not_nan("hypergeometric_pFq", "b", b_ref);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/hypergeometric_2F1.hpp:190:30: required from 'stan::return_type_t<T_x1, T_x2, T_sigma, T_l> stan::math::hypergeometric_2F1(const Ta1&, const Ta2&, const Tb&, const Tz&) [with Ta1 = double; Ta2 = double; Tb = double; Tz = double; ScalarT = double; OptT = boost::optional<double>; stan::require_all_arithmetic_t<Ta1, Ta2, Tb, Tz>* <anonymous> = 0; stan::return_type_t<T_x1, T_x2, T_sigma, T_l> = double]'
190 | return hypergeometric_pFq(a_args, b_args, z);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:192:39: required from 'TupleT stan::math::internal::grad_2F1_impl(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool calc_a1 = true; bool calc_a2 = true; bool calc_b1 = true; bool calc_z = true; T1 = double; T2 = double; T3 = double; T_z = double; ScalarT = double; TupleT = std::tuple<double, double, double, double>]'
192 | auto hyper1 = hypergeometric_2F1(a1_euler, a2_euler, b1, z_euler);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_2F1.hpp:308:57: required from 'auto stan::math::grad_2F1(const T1&, const T2&, const T3&, const T_z&, double, int) [with bool ReturnSameT = true; T1 = double; T2 = double; T3 = double; T_z = double; stan::require_t<std::integral_constant<bool, __v> >* <anonymous> = 0]'
308 | return internal::grad_2F1_impl<true, true, true, true>(a1, a2, b1, z,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
309 | precision, max_steps);
| ~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/grad_reg_inc_beta.hpp:50:25: required from 'void stan::math::grad_reg_inc_beta(T&, T&, const T&, const T&, const T&, const T&, const T&, const T&, const T&) [with T = double]'
50 | = grad_2F1<true>(a + b, 1.0, a + 1, z);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/inc_beta.hpp:26:0: required from here
26 | grad_reg_inc_beta(d_a, d_b, avi_->val_, bvi_->val_, cvi_->val_,
27 | digamma(avi_->val_), digamma(bvi_->val_),
28 | digamma(avi_->val_ + bvi_->val_), beta_ab);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Matrix<double, 1, 1, 0, 1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:223:34: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:363:59: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
363 | matA.col(i).tail(remainingSize).makeHouseholderInPlace(h, beta);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:268:7: required from 'Eigen::MapBase<Derived, 1>::ScalarWithConstIfNotLvalue& Eigen::MapBase<Derived, 1>::coeffRef(Eigen::Index) [with Derived = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>; ScalarWithConstIfNotLvalue = double; Eigen::Index = long long int]'
15 | EIGEN_STATIC_ASSERT((int(internal::evaluator<Derived>::Flags) & LinearAccessBit) || Derived::IsVectorAtCompileTime, \
| ^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:367:25: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
367 | matA.col(i).coeffRef(i+1) = 1;
| ~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Jacobi/Jacobi.h:475:5: required from 'void Eigen::internal::apply_rotation_in_the_plane(Eigen::DenseBase<Derived>&, Eigen::DenseBase<Derived>&, const Eigen::JacobiRotation<OtherScalar>&) [with VectorX = Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true>; VectorY = Eigen::Block<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, -1, 1, true>; OtherScalar = double]'
475 | EIGEN_PLAIN_ENUM_MIN(evaluator<VectorX>::Alignment, evaluator<VectorY>::Alignment),
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Jacobi/Jacobi.h:315:40: required from 'void Eigen::MatrixBase<Derived>::applyOnTheRight(Eigen::Index, Eigen::Index, const Eigen::JacobiRotation<OtherScalar>&) [with OtherScalar = double; Derived = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; Eigen::Index = long long int]'
315 | internal::apply_rotation_in_the_plane(x, y, j.transpose());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:895:24: required from 'void Eigen::internal::tridiagonal_qr_step(RealScalar*, RealScalar*, Index, Index, Scalar*, Index) [with int StorageOrder = 0; RealScalar = double; Scalar = double; Index = long long int]'
895 | q.applyOnTheRight(k,k+1,rot);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:548:87: required from 'Eigen::ComputationInfo Eigen::internal::computeFromTridiagonal_impl(DiagType&, SubDiagType&, Eigen::Index, bool, MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagType = Eigen::Matrix<double, -1, 1>; SubDiagType = Eigen::Matrix<double, -1, 1>; Eigen::Index = long long int]'
548 | internal::tridiagonal_qr_step<MatrixType::Flags&RowMajorBit ? RowMajor : ColMajor>(diag.data(), subdiag.data(), start, end, computeEigenvectors ? eivec.data() : (Scalar*)0, n);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:460:49: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
460 | m_info = internal::computeFromTridiagonal_impl(diag, m_subdiag, m_maxIterations, computeEigenvectors, m_eivec);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Visitor.h:79:51: required from 'class Eigen::internal::visitor_evaluator<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false> >'
79 | CoeffReadCost = internal::evaluator<XprType>::CoeffReadCost
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Visitor.h:123:17: required from 'void Eigen::DenseBase<Derived>::visit(Visitor&) const [with Visitor = Eigen::internal::min_coeff_visitor<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>; Derived = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>]'
123 | ThisEvaluator thisEval(derived());
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Visitor.h:323:14: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::minCoeff(IndexType*) const [with int NaNPropagation = 0; IndexType = long long int; Derived = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; typename Eigen::internal::traits<T>::Scalar = double]'
323 | this->visit(minVisitor);
| ~~~~~~~~~~~^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:496:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::minCoeff(IndexType*) const [with IndexType = long long int; Derived = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; typename Eigen::internal::traits<T>::Scalar = double]'
496 | return minCoeff<PropagateFast>(index);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:563:35: required from 'Eigen::ComputationInfo Eigen::internal::computeFromTridiagonal_impl(DiagType&, SubDiagType&, Eigen::Index, bool, MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagType = Eigen::Matrix<double, -1, 1>; SubDiagType = Eigen::Matrix<double, -1, 1>; Eigen::Index = long long int]'
563 | diag.segment(i,n-i).minCoeff(&k);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:460:49: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
460 | m_info = internal::computeFromTridiagonal_impl(diag, m_subdiag, m_maxIterations, computeEigenvectors, m_eivec);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:221:22: required from 'static typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::internal::lpNorm_selector<Derived, 1>::run(const Eigen::MatrixBase<Derived>&) [with Derived = Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
221 | return m.cwiseAbs().sum();
| ~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:269:52: required from 'typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::MatrixBase<Derived>::lpNorm() const [with int p = 1; Derived = Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
269 | return internal::lpNorm_selector<Derived, p>::run(*this);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:514:74: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
514 | abs_col_sum = m_matrix.col(col).tail(size - col).template lpNorm<1>() + m_matrix.row(col).head(col).template lpNorm<1>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:221:22: required from 'static typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::internal::lpNorm_selector<Derived, 1>::run(const Eigen::MatrixBase<Derived>&) [with Derived = Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
221 | return m.cwiseAbs().sum();
| ~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:269:52: required from 'typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::MatrixBase<Derived>::lpNorm() const [with int p = 1; Derived = Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false>, 1, -1, false>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
269 | return internal::lpNorm_selector<Derived, p>::run(*this);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:514:125: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
514 | abs_col_sum = m_matrix.col(col).tail(size - col).template lpNorm<1>() + m_matrix.row(col).head(col).template lpNorm<1>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1384:41: required from 'struct Eigen::internal::evaluator_wrapper_base<Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
1384 | CoeffReadCost = evaluator<ArgType>::CoeffReadCost,
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1464:8: required from 'struct Eigen::internal::unary_evaluator<Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, Eigen::internal::IndexBased, double>'
1464 | struct unary_evaluator<ArrayWrapper<TArgType> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from 'struct Eigen::internal::evaluator<Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
90 | struct evaluator : public unary_evaluator<T>
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from 'struct Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>'
739 | CoeffReadCost = int(evaluator<Lhs>::CoeffReadCost) + int(evaluator<Rhs>::CoeffReadCost) + int(functor_traits<BinaryOp>::Cost),
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:379:74: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
379 | ret = ret && (mat.col(j).tail(size-j-1).array()==Scalar(0)).all();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1384:41: required from 'struct Eigen::internal::evaluator_wrapper_base<Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> > >'
1384 | CoeffReadCost = evaluator<ArgType>::CoeffReadCost,
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1464:8: required from 'struct Eigen::internal::unary_evaluator<Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> >, Eigen::internal::IndexBased, double>'
1464 | struct unary_evaluator<ArrayWrapper<TArgType> >
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:90:8: required from 'struct Eigen::internal::evaluator<Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> > >'
90 | struct evaluator : public unary_evaluator<T>
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> > >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:739:41: required from 'struct Eigen::internal::binary_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<double, double, Eigen::internal::cmp_EQ>, const Eigen::ArrayWrapper<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, false> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Array<double, -1, 1> > >, Eigen::internal::IndexBased, Eigen::internal::IndexBased, double, double>'
739 | CoeffReadCost = int(evaluator<Lhs>::CoeffReadCost) + int(evaluator<Rhs>::CoeffReadCost) + int(functor_traits<BinaryOp>::Cost),
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:722:8: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:387:50: required from 'static bool Eigen::internal::ldlt_inplace<1>::unblocked(MatrixType&, TranspositionType&, Workspace&, Eigen::internal::SignMatrix&) [with MatrixType = Eigen::Matrix<double, -1, -1>; TranspositionType = Eigen::Transpositions<-1, -1, int>; Workspace = Eigen::Matrix<double, -1, 1>]'
387 | ret = ret && (A21.array()==Scalar(0)).all();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:526:51: required from 'Eigen::LDLT<_MatrixType, _UpLo>& Eigen::LDLT<MatrixType, UpLo>::compute(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
526 | m_info = internal::ldlt_inplace<UpLo>::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:120:14: required from 'Eigen::LDLT<MatrixType, UpLo>::LDLT(const Eigen::EigenBase<OtherDerived>&) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; int _UpLo = 1]'
120 | compute(matrix.derived());
| ~~~~~~~^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Cholesky/LDLT.h:683:10: required from 'const Eigen::LDLT<typename Eigen::DenseBase<Derived>::PlainObject> Eigen::MatrixBase<Derived>::ldlt() const [with Derived = Eigen::Matrix<double, -1, -1>; typename Eigen::DenseBase<Derived>::PlainObject = Eigen::Matrix<double, -1, -1>]'
683 | return LDLT<PlainObject>(derived());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_pos_definite.hpp:45:67: required from 'void stan::math::check_pos_definite(const char*, const char*, const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_matrix_t<T>* <anonymous> = 0]'
45 | Eigen::LDLT<Eigen::MatrixXd> cholesky = value_of_rec(y_ref).ldlt();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/validate_dense_inv_metric.hpp:22:0: required from here
22 | stan::math::check_pos_definite("check_pos_definite", "inv_metric",
23 | inv_metric);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseBinaryOp<scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; Func = Eigen::internal::scalar_sum_op<double, double>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:37:51: required from 'static Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::ResScalar Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Matrix<double, -1, 1>; U = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; bool NeedToTranspose = false; ResScalar = double]'
37 | return a.template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/dot_product.hpp:26:16: required from 'auto stan::math::dot_product(const Vec1&, const Vec2&) [with Vec1 = Eigen::Matrix<double, -1, 1>; Vec2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_eigen_vector_t<EigVec1, EigVec2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0]'
26 | return v1.dot(v2);
| ~~~~~~^~~~
stanExports_mdcev.h:2865:0: required from here
2865 | sum_log_lik = stan::math::dot_product(log_like, weights);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Matrix<double, -1, 1>, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Matrix<double, -1, 1>, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Matrix<double, -1, 1>, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::lb_constrain<Eigen::Matrix<double, -1, 1>, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Matrix<double, -1, 1>, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:108:18: required from 'auto stan::math::lb_constrain(const T&, const L&, Lp&) [with T = Eigen::Matrix<double, -1, 1>; L = int; Lp = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0; stan::require_convertible_t<typename stan::return_type<T1, T2>::type, Lp>* <anonymous> = 0]'
108 | x.unaryExpr([lb, &lp](auto&& xx) { return lb_constrain(xx, lb, lp); }));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:188:26: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = true; T_ = double; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/initialize.hpp:130:0: required from 'std::vector<double> stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = true; Model = model_mdcev_namespace::model_mdcev; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]'
130 | log_prob = model.template log_prob<false, Jacobian>(unconstrained,
131 | disc_vector, &msg);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:0: required from 'int stan::services::diagnose::diagnose(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev]'
49 | std::vector<double> cont_vector = util::initialize(
50 | model, init, rng, init_radius, false, logger, init_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:481:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
481 | return_code = stan::services::diagnose::diagnose(model,
482 | *init_context_ptr,
483 | random_seed, id,
484 | init_radius,
485 | epsilon, error,
486 | interrupt,
487 | logger,
488 | init_writer,
489 | sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&, double&)::<lambda(auto:410&&)>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&, double&)::<lambda(auto:410&&)>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&, double&)::<lambda(auto:410&&)>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&, double&)::<lambda(auto:410&&)>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::lub_constrain<Eigen::Matrix<double, -1, 1>, int, int, double>(const Eigen::Matrix<double, -1, 1>&, const int&, const int&, double&)::<lambda(auto:410&&)>, const Eigen::Matrix<double, -1, 1> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:136:26: required from 'auto stan::math::lub_constrain(const T&, const L&, const U&, Lp&) [with T = Eigen::Matrix<double, -1, 1>; L = int; U = int; Lp = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_all_stan_scalar_t<T1, T2>* <anonymous> = 0; stan::require_not_var_t<typename stan::return_type<T_x, T_sigma, T_l>::type>* <anonymous> = 0; stan::require_convertible_t<typename stan::return_type<T_x, T_sigma, T_l>::type, Lp>* <anonymous> = 0]'
136 | return eval(x.unaryExpr(
| ~~~~~~~~~~~^
137 | [lb, ub, &lp](auto&& xx) { return lub_constrain(xx, lb, ub, lp); }));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lub_constrain.hpp:270:27: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = true; T_ = double; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/initialize.hpp:130:0: required from 'std::vector<double> stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = true; Model = model_mdcev_namespace::model_mdcev; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]'
130 | log_prob = model.template log_prob<false, Jacobian>(unconstrained,
131 | disc_vector, &msg);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:0: required from 'int stan::services::diagnose::diagnose(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev]'
49 | std::vector<double> cont_vector = util::initialize(
50 | model, init, rng, init_radius, false, logger, init_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:481:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
481 | return_code = stan::services::diagnose::diagnose(model,
482 | *init_context_ptr,
483 | random_seed, id,
484 | init_radius,
485 | epsilon, error,
486 | interrupt,
487 | logger,
488 | init_writer,
489 | sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, int, double>(const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, int, double>(const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, int, double>(const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, int, double>(const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::lb_constrain<Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, int, double>(const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >&, const int&, double&)::<lambda(auto:395&&)>, const Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:108:18: required from 'auto stan::math::lb_constrain(const T&, const L&, Lp&) [with T = Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; L = int; Lp = double; stan::require_eigen_t<T>* <anonymous> = 0; stan::require_stan_scalar_t<T2>* <anonymous> = 0; stan::require_all_not_st_var<Mat1, Mat2>* <anonymous> = 0; stan::require_convertible_t<typename stan::return_type<T1, T2>::type, Lp>* <anonymous> = 0]'
108 | x.unaryExpr([lb, &lp](auto&& xx) { return lb_constrain(xx, lb, lp); }));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/constraint/lb_constrain.hpp:260:24: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = true; T_ = double; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/util/initialize.hpp:130:0: required from 'std::vector<double> stan::services::util::initialize(Model&, const InitContext&, RNG&, double, bool, stan::callbacks::logger&, stan::callbacks::writer&) [with bool Jacobian = true; Model = model_mdcev_namespace::model_mdcev; InitContext = stan::io::var_context; RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >]'
130 | log_prob = model.template log_prob<false, Jacobian>(unconstrained,
131 | disc_vector, &msg);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:0: required from 'int stan::services::diagnose::diagnose(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev]'
49 | std::vector<double> cont_vector = util::initialize(
50 | model, init, rng, init_radius, false, logger, init_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:481:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
481 | return_code = stan::services::diagnose::diagnose(model,
482 | *init_context_ptr,
483 | random_seed, id,
484 | init_radius,
485 | epsilon, error,
486 | interrupt,
487 | logger,
488 | init_writer,
489 | sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:76:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = false; T_y = Eigen::Matrix<double, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
76 | const auto& y_scaled = to_ref((y_val - mu_val) * inv_sigma);
stanExports_mdcev.h:2110:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; VecR = std::vector<double>; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_not_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = double; std::ostream = std::basic_ostream<char>]'
2110 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2111 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/newton.hpp:63:0: required from 'int stan::services::optimize::newton(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
63 | lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
64 | &message);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:502:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
502 | = stan::services::optimize::newton(model, *init_context_ptr,
503 | random_seed, id, init_radius,
504 | num_iterations,
505 | save_iterations,
506 | interrupt, logger,
507 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log.hpp:87:70: required from 'stan::math::log<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&>(Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&)::<lambda(auto:51&&)> [with auto:51 = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&]'
87 | std::forward<Container>(x), [](auto&& v) { return v.array().log(); });
| ~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_vector_unary.hpp:58:44: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:2130:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; VecR = std::vector<double>; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_not_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = double; std::ostream = std::basic_ostream<char>]'
2130 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2131 | stan::model::rvalue(alpha, "alpha",
2132 | stan::model::index_uni(1)), prior_alpha_shape,
2133 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/newton.hpp:63:0: required from 'int stan::services::optimize::newton(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
63 | lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
64 | &message);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:502:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
502 | = stan::services::optimize::newton(model, *init_context_ptr,
503 | random_seed, id, init_radius,
504 | num_iterations,
505 | save_iterations,
506 | interrupt, logger,
507 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&, void>::apply<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&>(Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&, void>::apply<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&>(Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&, void>::apply<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&>(Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&, void>::apply<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&>(Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&, void>::apply<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&>(Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&)::<lambda(auto:12&&)>::<lambda(auto:13&&)>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/functor/apply_scalar_unary.hpp:66:58: required from 'stan::math::apply_scalar_unary<stan::math::log1m_fun, Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&, void>::apply<Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&>(Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&)::<lambda(auto:12&&)> [with auto:12 = Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >&]'
66 | return std::forward<decltype(xx)>(xx).unaryExpr([](auto&& xxx) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
67 | return apply_scalar_unary<F, decltype(xxx)>::apply(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | std::forward<decltype(xxx)>(xxx));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | });
| ~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:2130:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; VecR = std::vector<double>; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_not_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = double; std::ostream = std::basic_ostream<char>]'
2130 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2131 | stan::model::rvalue(alpha, "alpha",
2132 | stan::model::index_uni(1)), prior_alpha_shape,
2133 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/newton.hpp:63:0: required from 'int stan::services::optimize::newton(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
63 | lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
64 | &message);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:502:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
502 | = stan::services::optimize::newton(model, *init_context_ptr,
503 | random_seed, id, init_radius,
504 | num_iterations,
505 | save_iterations,
506 | interrupt, logger,
507 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:76:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = false; T_y = Eigen::Matrix<double, -1, 1>; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = double]'
76 | const auto& y_scaled = to_ref((y_val - mu_val) * inv_sigma);
stanExports_mdcev.h:2138:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; VecR = std::vector<double>; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_not_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = double; std::ostream = std::basic_ostream<char>]'
2138 | lp_accum__.add(stan::math::normal_lpdf<propto__>(
2139 | stan::math::to_vector(delta),
2140 | static_cast<double>(0), prior_delta_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = false; bool jacobian__ = false; T_ = double; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/newton.hpp:63:0: required from 'int stan::services::optimize::newton(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, int, bool, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
63 | lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
64 | &message);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:502:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
502 | = stan::services::optimize::newton(model, *init_context_ptr,
503 | random_seed, id, init_radius,
504 | num_iterations,
505 | save_iterations,
506 | interrupt, logger,
507 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Matrix<double, -1, 1>, const Eigen::Matrix<double, -1, 1> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:37:44: required from 'static Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::ResScalar Eigen::internal::dot_nocheck<T, U, NeedToTranspose>::run(const Eigen::MatrixBase<Derived>&, const Eigen::MatrixBase<U>&) [with T = Eigen::Matrix<double, -1, 1>; U = Eigen::Matrix<double, -1, 1>; bool NeedToTranspose = false; ResScalar = double]'
37 | return a.template binaryExpr<conj_prod>(b).sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:84:58: required from 'typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType Eigen::MatrixBase<Derived>::dot(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::Matrix<double, -1, 1>; Derived = Eigen::Matrix<double, -1, 1>; typename Eigen::ScalarBinaryOpTraits<typename Eigen::internal::traits<T>::Scalar, typename Eigen::internal::traits<OtherDerived>::Scalar>::ReturnType = double; typename Eigen::internal::traits<T>::Scalar = double; typename Eigen::internal::traits<OtherDerived>::Scalar = double]'
84 | return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/bfgs.hpp:192:0: required from 'int stan::optimization::BFGSMinimizer<FunctorType, QNUpdateType, Scalar, DimAtCompile>::step() [with FunctorType = stan::optimization::ModelAdaptor<model_mdcev_namespace::model_mdcev, false>; QNUpdateType = stan::optimization::BFGSUpdate_HInv<>; Scalar = double; int DimAtCompile = -1]'
192 | * CubicInterp(_gk_1.dot(_pk_1), _alphak_1, _fk - _fk_1,
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/services/optimize/bfgs.hpp:138:0: required from 'int stan::services::optimize::bfgs(Model&, const stan::io::var_context&, unsigned int, unsigned int, double, double, double, double, double, double, double, int, bool, int, stan::callbacks::interrupt&, stan::callbacks::logger&, stan::callbacks::writer&, stan::callbacks::writer&) [with Model = model_mdcev_namespace::model_mdcev; bool jacobian = false]'
138 | ret = bfgs.step();
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:517:0: required from 'int rstan::{anonymous}::command(rstan::stan_args&, Model&, Rcpp::List&, const std::vector<long long unsigned int>&, const std::vector<std::__cxx11::basic_string<char> >&, RNG_t&) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; Rcpp::List = Rcpp::Vector<19>]'
517 | = stan::services::optimize::bfgs(model, *init_context_ptr,
518 | random_seed, id, init_radius,
519 | init_alpha,
520 | tol_obj,
521 | tol_rel_obj,
522 | tol_grad,
523 | tol_rel_grad,
524 | tol_param,
525 | num_iterations,
526 | save_iterations,
527 | refresh,
528 | interrupt, logger,
529 | init_writer, sample_writer);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1215:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::call_sampler(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1215 | ret = command(args, model_, holder, names_oi_tidx_,
1216 | fnames_oi_, base_rng);
stanExports_mdcev.cc:15:0: required from here
15 | .method("call_sampler", &rstan::stan_fit<stan_model, stan::rng_t> ::call_sampler)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseUnaryOp<stan::math::value_of<const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&>(const Eigen::Matrix<var_value<double>, -1, -1, 0, -1, -1>&)::<lambda(auto:61&&)>::<lambda(auto:62&&)>, const Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1> >, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/meta/is_base_pointer_convertible.hpp:29:17: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:958:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 1, -1, false> >; T1__ = stan::math::var_value<double>; T2__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = stan::math::var_value<double>; typename stan::base_type<T>::type = stan::math::var_value<double>; typename stan::base_type<T2__, void>::type = stan::math::var_value<double>; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
958 | stan::math::diag_post_multiply(stan::model::deep_copy(jac_mat),
959 | nonzero), stan::math::subtract(static_cast<double>(1), nonzero)),
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 1>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/diag_post_multiply.hpp:45:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/diag_post_multiply.hpp:47:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 1>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 1> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 1> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 1, 8>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 1, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> > >, Eigen::DiagonalWrapper<const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 1>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/diag_post_multiply.hpp:47:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::ArrayBase<Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::ArrayBase<Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Array<stan::math::var_value<double>, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/sum.hpp:32:0: required from 'stan::math::var stan::math::sum(const std::vector<var_value<double>, Alloc>&) [with Alloc = arena_allocator<var_value<double> >; var = var_value<double>]'
32 | return make_callback_var(arena_m.val().sum(), [arena_m](auto& vi) mutable {
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/accumulator.hpp:135:0: required from 'stan::math::var stan::math::accumulator<T, typename std::enable_if<stan::is_var<typename std::decay<_Tp>::type>::value, void>::type>::sum() const [with T = stan::math::var_value<double>; typename std::enable_if<stan::is_var<typename std::decay<_Tp>::type>::value, void>::type = void; typename std::decay<_Tp>::type = stan::math::var_value<double>; stan::math::var = stan::math::var_value<double>]'
135 | inline var sum() const { return stan::math::sum(buf_); }
stanExports_mdcev.h:2529:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2529 | return lp_accum__.sum();
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/as_array_or_scalar.hpp:57:51: required from 'stan::math::as_array_or_scalar<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&>(const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&)::<lambda(auto:65&&)> [with auto:65 = const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&]'
57 | return make_holder([](auto&& x) { return x.array(); }, std::forward<T>(v));
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::as_array_or_scalar<const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&>(const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&)::<lambda(auto:65&&)>; _Args = {const Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:951:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
951 | stan::math::add_diag(
952 | stan::math::rep_matrix(
953 | stan::math::multiply((1 - alpha), price_j_num), J),
954 | stan::math::inv(phi_quant_term)), "assigning variable jac_mat");
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/as_array_or_scalar.hpp:57:51: required from 'stan::math::as_array_or_scalar<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&>(const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&)::<lambda(auto:65&&)> [with auto:65 = const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&]'
57 | return make_holder([](auto&& x) { return x.array(); }, std::forward<T>(v));
| ~~~~~~~^~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2655:26: required by substitution of 'template<class _Fn, class ... _Args> static std::__result_of_success<decltype (declval<_Fn>()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = stan::math::as_array_or_scalar<const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&>(const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >&)::<lambda(auto:65&&)>; _Args = {const Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1, 0, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1, 0, -1, 1> > > >&}]'
2655 | std::declval<_Fn>()(std::declval<_Args>()...)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/type_traits:2666:60: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:957:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
957 | stan::math::add_diag(
958 | stan::math::diag_post_multiply(stan::model::deep_copy(jac_mat),
959 | nonzero), stan::math::subtract(static_cast<double>(1), nonzero)),
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:60:7: required from 'class Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 4, 4> >'
60 | class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp<NullaryOp, PlainObjectType> >::type, internal::no_assignment_operator
| ^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:347:30: required from 'Derived& Eigen::DenseBase<Derived>::setConstant(const Scalar&) [with Derived = Eigen::Matrix<double, 4, 4>; Scalar = double]'
347 | return derived() = Constant(rows(), cols(), val);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseNullaryOp.h:548:10: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h:116:13: required from 'static void Eigen::internal::general_matrix_matrix_triangular_product<Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar, RhsStorageOrder, ConjugateRhs, 0, ResInnerStride, UpLo, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, Index, const ResScalar&, Eigen::internal::level3_blocking<LhsScalar, RhsScalar>&) [with Index = long long int; LhsScalar = double; int LhsStorageOrder = 1; bool ConjugateLhs = false; RhsScalar = double; int RhsStorageOrder = 0; bool ConjugateRhs = false; int ResInnerStride = 1; int UpLo = 2; int Version = 0; ResScalar = double]'
116 | sybb(_res+resStride*i2 + resIncr*i2, resIncr, resStride, blockA, blockB + actual_kc*i2, actual_mc, actual_kc, alpha);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:113:12: required from 'static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, false>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Matrix<double, -1, -1>; OtherType = Eigen::Matrix<double, -1, -1, 1, -1, -1>; int UpLo = 2; typename MatrixType::Scalar = double]'
109 | internal::general_matrix_matrix_triangular_product<Index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | Scalar, OtherIsRowMajor ? RowMajor : ColMajor, OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | Scalar, OtherIsRowMajor ? ColMajor : RowMajor, (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | IsRowMajor ? RowMajor : ColMajor, MatrixType::InnerStrideAtCompileTime, UpLo>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | ::run(size, depth,
| ~~~~~^~~~~~~~~~~~~
114 | actualOther.data(), actualOther.outerStride(), actualOther.data(), actualOther.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | mat.data(), mat.innerStride(), mat.outerStride(), actualAlpha, blocking);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointProduct.h:126:62: required from 'Eigen::SelfAdjointView<MatrixType, UpLo>& Eigen::SelfAdjointView<MatrixType, Mode>::rankUpdate(const Eigen::MatrixBase<OtherDerived>&, const Scalar&) [with DerivedU = Eigen::Matrix<double, -1, -1, 1, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>; unsigned int UpLo = 2; Scalar = double]'
126 | selfadjoint_product_selector<MatrixType,DerivedU,UpLo>::run(_expression().const_cast_derived(), u.derived(), alpha);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:33:78: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
33 | return result.setZero().template selfadjointView<Eigen::Upper>().rankUpdate(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
34 | M_ref);
| ~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'Eigen::Index Eigen::internal::first_default_aligned(const Eigen::DenseBase<Derived>&) [with Derived = Eigen::CwiseUnaryOp<scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; Eigen::Index = long long int]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:243:63: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> > >; Scalar = double]'
243 | const Index alignedStart = internal::first_default_aligned(xpr);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:453:45: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
453 | RealScalar scale = mat.cwiseAbs().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:654:74: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
654 | return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:363:59: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
363 | matA.col(i).tail(remainingSize).makeHouseholderInPlace(h, beta);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_quotient_op<double, double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Householder/Householder.h:93:22: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:363:59: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
363 | matA.col(i).tail(remainingSize).makeHouseholderInPlace(h, beta);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:37:44: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:372:86: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
372 | hCoeffs.tail(n-i-1) += (conj(h)*RealScalar(-0.5)*(hCoeffs.tail(remainingSize).dot(matA.col(i).tail(remainingSize)))) * matA.col(i).tail(n-i-1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:375:18: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
374 | matA.bottomRightCorner(remainingSize, remainingSize).template selfadjointView<Lower>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | .rankUpdate(matA.col(i).tail(remainingSize), hCoeffs.tail(remainingSize), Scalar(-1));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointRank2Update.h:34:74: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:375:18: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
374 | matA.bottomRightCorner(remainingSize, remainingSize).template selfadjointView<Lower>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | .rankUpdate(matA.col(i).tail(remainingSize), hCoeffs.tail(remainingSize), Scalar(-1));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointRank2Update.h:35:60: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:375:18: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
374 | matA.bottomRightCorner(remainingSize, remainingSize).template selfadjointView<Lower>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | .rankUpdate(matA.col(i).tail(remainingSize), hCoeffs.tail(remainingSize), Scalar(-1));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op<double, double>, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>, -1, 1, false> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/SelfadjointRank2Update.h:35:23: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:375:18: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
374 | matA.bottomRightCorner(remainingSize, remainingSize).template selfadjointView<Lower>()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | .rankUpdate(matA.col(i).tail(remainingSize), hCoeffs.tail(remainingSize), Scalar(-1));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/dot_product.hpp:58:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:825:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:103:7: required from 'class Eigen::CwiseUnaryViewImpl<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> > >::adj_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, 1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
103 | class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h:58:7: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:825:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type, -1, 1> model_mdcev_namespace::mdcev_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, const T14__&, const T15__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T5__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T8__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T9__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T10__ = stan::math::var_value<double>; T11__ = int; T12__ = int; T13__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T14__ = int; T15__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_col_vector<T4__>, stan::is_vt_not_complex<T4__>, stan::is_col_vector<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_eigen_matrix_dynamic<T7__>, stan::is_vt_not_complex<T7__>, stan::is_col_vector<T8__>, stan::is_vt_not_complex<T8__>, stan::is_eigen_matrix_dynamic<T9__>, stan::is_vt_not_complex<T9__>, stan::math::disjunction<stan::is_autodiff_scalar<T10__>, std::is_floating_point<typename std::decay<T10__>::type> >, std::is_integral<typename std::decay<T11__>::type>, std::is_integral<typename std::decay<T12__>::type>, stan::is_eigen_matrix_dynamic<T13__>, stan::is_vt_not_complex<T13__>, std::is_integral<typename std::decay<T14__>::type>, std::is_integral<typename std::decay<T15__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, typename stan::base_type<T8__, void>::type, typename stan::base_type<T9__, void>::type, typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T8__, void>::type = stan::math::var_value<double>; typename stan::base_type<T9__, void>::type = stan::math::var_value<double>; typename stan::return_type<T10__, typename stan::base_type<T13__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T13__, void>::type = double; std::ostream = std::basic_ostream<char>]'
825 | log_scale), stan::math::rows_dot_product(nonzero, logf)),
stanExports_mdcev.h:2352:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2352 | mdcev_ll(quant_j, price_j, log_num, income, M, log_M_fact,
2353 | lpsi, gamma_full, alpha_1, alpha_j, scale_full, I, J,
2354 | nonzero, trunc_data, model_num, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Inverse<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Inverse<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Inverse<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Inverse.h:68:7: required from 'class Eigen::InverseImpl<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> >, Eigen::SolverStorage>'
68 | class InverseImpl
| ^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Inverse.h:43:7: required from 'class Eigen::Inverse<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> > >'
43 | class Inverse : public InverseImpl<XprType,typename internal::traits<XprType>::StorageKind>
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant.hpp:24:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<const Eigen::Inverse<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<const Eigen::Inverse<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Inverse<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> > > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<const Eigen::Inverse<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> > >, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: required from 'class Eigen::Transpose<const Eigen::Inverse<Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> > > >'
52 | template<typename MatrixType> class Transpose
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant.hpp:24:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, const Eigen::Map<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/log_determinant.hpp:28:0: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T5__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T6__ = Eigen::Matrix<stan::math::var_value<double>, -1, -1, 0, -1, -1>; T7__ = Eigen::Matrix<stan::math::var_value<double>, -1, 1>; T8__ = stan::math::var_value<double>; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = stan::math::var_value<double>; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = stan::math::var_value<double>; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = stan::math::var_value<double>; typename stan::base_type<T5__, void>::type = stan::math::var_value<double>; typename stan::base_type<T6__, void>::type = stan::math::var_value<double>; typename stan::base_type<T7__, void>::type = stan::math::var_value<double>; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2401:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2401 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2402 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2403 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp: In instantiation of 'void stan::math::elementwise_check(const F&, const char*, const char*, const T&, const char*, const Indexings& ...) [with F = check_not_nan<Eigen::Array<double, -1, 1> >(const char*, const char*, const Eigen::Array<double, -1, 1>&)::<lambda(double)>; T = Eigen::Array<double, -1, 1>; Indexings = {}; stan::require_eigen_t<T>* <anonymous> = 0; std::enable_if_t<((bool)((Eigen::internal::traits<_Rhs>::Flags & Eigen::LinearAccessBit) || T::IsVectorAtCompileTime))>* <anonymous> = 0]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_not_nan.hpp:28:20: required from 'void stan::math::check_not_nan(const char*, const char*, const T_y&) [with T_y = Eigen::Array<double, -1, 1>]'
28 | elementwise_check([](double x) { return !std::isnan(x); }, function, name, y,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | "not nan");
| ~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:61:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
61 | check_not_nan(function, "Random variable", y_val);
stanExports_mdcev.h:2461:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2461 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2462 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/elementwise_check.hpp:153:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'Eigen::EigenBase<Eigen::Array<double, -1, 1> >::Index' {aka 'long long int'} [-Wsign-compare]
153 | for (size_t i = 0; i < x.size(); i++) {
| ~~^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/operands_and_partials.hpp:67:0: required from 'void stan::math::internal::update_adjoints(Matrix1&, const Matrix2&, const stan::math::var&) [with Matrix1 = stan::math::arena_matrix<Eigen::Matrix<stan::math::var_value<double>, -1, 1> >; Matrix2 = stan::math::arena_matrix<Eigen::Matrix<double, -1, 1> >; stan::require_rev_matrix_t<T>* <anonymous> = 0; stan::require_st_arithmetic<Op>* <anonymous> = 0; stan::math::var = stan::math::var_value<double>]'
67 | x.adj().array() += z.adj() * y.array();
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/functor/partials_propagator.hpp:81:0: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/normal_lpdf.hpp:104:0: required from 'stan::return_type_t<T, L, U> stan::math::normal_lpdf(T_y&&, T_loc&&, T_scale&&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>&; T_loc = double; T_scale = const double&; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
104 | return ops_partials.build(logp);
stanExports_mdcev.h:2461:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2461 | lp_accum__.add(stan::math::normal_lpdf<propto__>(scale,
2462 | static_cast<double>(0), prior_scale_sd));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp: In instantiation of 'static void stan::math::internal::bounded<T_y, T_low, T_high, true>::check(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = Eigen::Array<double, -1, 1>; T_low = int; T_high = int]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:80:75: required from 'void stan::math::check_bounded(const char*, const char*, const T_y&, const T_low&, const T_high&) [with T_y = Eigen::Array<double, -1, 1>; T_low = int; T_high = int]'
80 | internal::bounded<T_y, T_low, T_high, is_vector_like<T_y>::value>::check(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
81 | function, name, y, low, high);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:71:16: required from 'stan::return_type_t<T, L, U> stan::math::beta_lpdf(const T_y&, const T_scale_succ&, const T_scale_fail&) [with bool propto = true; T_y = Eigen::Matrix<var_value<double>, -1, 1>; T_scale_succ = double; T_scale_fail = double; stan::require_all_not_nonscalar_prim_or_rev_kernel_expression_t<T_y, T_scale_succ, T_scale_fail>* <anonymous> = 0; stan::return_type_t<T, L, U> = var_value<double>]'
71 | check_bounded(function, "Random variable", value_of(y_val), 0, 1);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stanExports_mdcev.h:2481:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2481 | lp_accum__.add(stan::math::beta_lpdf<propto__>(
2482 | stan::model::rvalue(alpha, "alpha",
2483 | stan::model::index_uni(1)), prior_alpha_shape,
2484 | prior_alpha_shape));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_bounded.hpp:48:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
48 | for (size_t n = 0; n < stan::math::size(y); n++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:148:7: required from 'class Eigen::CwiseBinaryOpImpl<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >, Eigen::Dense>'
148 | class CwiseBinaryOpImpl
| ^~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseBinaryOp.h:77:7: required from 'class Eigen::CwiseBinaryOp<Eigen::internal::scalar_conj_product_op<double, double>, const Eigen::CwiseUnaryOp<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >::val_Op, Eigen::Map<Eigen::Matrix<stan::math::var_value<double>, -1, 1> > >, const Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> > >'
77 | class CwiseBinaryOp :
| ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:37:44: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/rev/fun/dot_product.hpp:66:0: required from 'stan::math::var stan::math::dot_product(const T1&, const T2&) [with T1 = Eigen::Matrix<var_value<double>, -1, 1>; T2 = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; stan::require_all_vector_t<T_y, T_high>* <anonymous> = 0; stan::require_not_complex_t<typename stan::return_type<T1, T2>::type>* <anonymous> = 0; stan::require_all_not_std_vector_t<T1, T2>* <anonymous> = 0; stan::require_any_st_var<Scalar, Mat>* <anonymous> = 0; var = var_value<double>]'
66 | return make_callback_var(v1_arena.val().dot(v2_val_arena),
stanExports_mdcev.h:2523:0: required from 'stan::scalar_type_t<T2> model_mdcev_namespace::model_mdcev::log_prob_impl(VecR&, VecI&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; VecR = std::vector<stan::math::var_value<double>, std::allocator<stan::math::var_value<double> > >; VecI = std::vector<int>; stan::require_vector_like_t<VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_st_var<VecR>* <anonymous> = 0; stan::scalar_type_t<T2> = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
2523 | lp_accum__.add(stan::math::dot_product(log_like, weights));
stanExports_mdcev.h:3346:0: required from 'T_ model_mdcev_namespace::model_mdcev::log_prob(std::vector<T_x2>&, std::vector<int>&, std::ostream*) const [with bool propto__ = true; bool jacobian__ = true; T_ = stan::math::var_value<double>; std::ostream = std::basic_ostream<char>]'
3346 | return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:0: required from 'double stan::model::log_prob_grad(const M&, std::vector<double>&, std::vector<int>&, std::vector<double>&, std::ostream*) [with bool propto = true; bool jacobian_adjust_transform = true; M = model_mdcev_namespace::model_mdcev; std::ostream = std::basic_ostream<char>]'
40 | var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
41 | ad_params_r, params_i, msgs);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1183:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::grad_log_prob(SEXP, SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1183 | lp = stan::model::log_prob_grad<true,true>(model_, par_r, par_i, gradient, &rstan::io::rcout);
stanExports_mdcev.cc:23:0: required from here
23 | .method("grad_log_prob", &rstan::stan_fit<stan_model, stan::rng_t> ::grad_log_prob)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/Core:313:
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h: In instantiation of 'void Eigen::internal::BlockedInPlaceTranspose(MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; long long int Alignment = 16]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:308:89: required from 'static void Eigen::internal::inplace_transpose_selector<MatrixType, false, MatchPacketSize>::run(MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; bool MatchPacketSize = false]'
308 | BlockedInPlaceTranspose<MatrixType,internal::evaluator<MatrixType>::Alignment>(m);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:348:53: required from 'void Eigen::DenseBase<Derived>::transposeInPlace() [with Derived = Eigen::Matrix<double, -1, -1>]'
348 | internal::inplace_transpose_selector<Derived>::run(derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:174:25: required from 'Eigen::Matrix<typename stan::value_type<T>::type, -1, -1> stan::math::to_matrix(EigMat&&, int, int, bool) [with EigMat = Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>; stan::require_eigen_t<T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
174 | res.transposeInPlace();
| ~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:2701:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2701 | stan::math::to_matrix(
2702 | stan::math::multiply(dat_psi,
2703 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:272:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
272 | PacketBlock<Packet> A;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:272:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:280:29: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
280 | PacketBlock<Packet> B;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:280:29: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:302:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 1>'
302 | class DenseCoeffsBase<Derived, WriteAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:555:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >, 3>'
555 | class DenseCoeffsBase<Derived, DirectWriteAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:118:37: required from 'class Eigen::TransposeImpl<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, Eigen::Dense>'
118 | template<typename MatrixType> class TransposeImpl<MatrixType,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:52:37: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:348:53: required from 'void Eigen::DenseBase<Derived>::transposeInPlace() [with Derived = Eigen::Matrix<double, -1, -1>]'
348 | internal::inplace_transpose_selector<Derived>::run(derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:174:25: required from 'Eigen::Matrix<typename stan::value_type<T>::type, -1, -1> stan::math::to_matrix(EigMat&&, int, int, bool) [with EigMat = Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>; stan::require_eigen_t<T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
174 | res.transposeInPlace();
| ~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:2701:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2701 | stan::math::to_matrix(
2702 | stan::math::multiply(dat_psi,
2703 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h: In instantiation of 'void Eigen::internal::BlockedInPlaceTranspose(MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; long long int Alignment = 0]':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:310:56: required from 'static void Eigen::internal::inplace_transpose_selector<MatrixType, false, MatchPacketSize>::run(MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; bool MatchPacketSize = false]'
310 | BlockedInPlaceTranspose<MatrixType,Unaligned>(m);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:348:53: required from 'void Eigen::DenseBase<Derived>::transposeInPlace() [with Derived = Eigen::Matrix<double, -1, -1>]'
348 | internal::inplace_transpose_selector<Derived>::run(derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/to_matrix.hpp:174:25: required from 'Eigen::Matrix<typename stan::value_type<T>::type, -1, -1> stan::math::to_matrix(EigMat&&, int, int, bool) [with EigMat = Eigen::Product<Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, false>, 0>; stan::require_eigen_t<T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
174 | res.transposeInPlace();
| ~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:2701:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2701 | stan::math::to_matrix(
2702 | stan::math::multiply(dat_psi,
2703 | stan::math::segment(psi_k, J, NPsi_ij)), I, J, 0)),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:272:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
272 | PacketBlock<Packet> A;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:272:27: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:280:29: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
280 | PacketBlock<Packet> B;
| ^
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Transpose.h:280:29: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
In file included from D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err.hpp:10:
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_consistent_size.hpp: In instantiation of 'void stan::math::check_consistent_size(const char*, const char*, const T&, size_t) [with T = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; size_t = long long unsigned int]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add_diag.hpp:32:26: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, -1> stan::math::add_diag(const T_m&, const T_a&) [with T_m = Eigen::Replicate<Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Matrix<double, -1, 1> >, -1, -1>; T_a = Eigen::MatrixWrapper<Eigen::CwiseUnaryOp<Eigen::internal::scalar_inverse_op<double>, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; <template-parameter-1-3> = void; <template-parameter-1-4> = void; typename stan::return_type<T1, T2>::type = double]'
32 | check_consistent_size("add_diag", "number of elements of to_add", to_add,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | length_diag);
| ~~~~~~~~~~~~
stanExports_mdcev.h:951:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
951 | stan::math::add_diag(
952 | stan::math::rep_matrix(
953 | stan::math::multiply((1 - alpha), price_j_num), J),
954 | stan::math::inv(phi_quant_term)), "assigning variable jac_mat");
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_consistent_size.hpp:28:50: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
28 | || (is_vector<T>::value && expected_size == stan::math::size(x)))) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_consistent_size.hpp: In instantiation of 'void stan::math::check_consistent_size(const char*, const char*, const T&, size_t) [with T = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; size_t = long long unsigned int]':
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/add_diag.hpp:32:26: required from 'Eigen::Matrix<typename stan::return_type<T1, T2>::type, -1, -1> stan::math::add_diag(const T_m&, const T_a&) [with T_m = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 1>; T_a = Eigen::MatrixWrapper<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Array<double, -1, 1> >, const Eigen::ArrayWrapper<const Eigen::Matrix<double, -1, 1> > > >; <template-parameter-1-3> = void; <template-parameter-1-4> = void; typename stan::return_type<T1, T2>::type = double]'
32 | check_consistent_size("add_diag", "number of elements of to_add", to_add,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 | length_diag);
| ~~~~~~~~~~~~
stanExports_mdcev.h:957:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
957 | stan::math::add_diag(
958 | stan::math::diag_post_multiply(stan::model::deep_copy(jac_mat),
959 | nonzero), stan::math::subtract(static_cast<double>(1), nonzero)),
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/err/check_consistent_size.hpp:28:50: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare]
28 | || (is_vector<T>::value && expected_size == stan::math::size(x)))) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/QR/ColPivHouseholderQR.h:463:34: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:962:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
962 | log_j_det = stan::math::log_determinant(jac_mat);
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayWrapper.h:42:7: required from 'class Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >'
42 | class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/QR/ColPivHouseholderQR.h:463:42: required from 'typename MatrixType::RealScalar Eigen::ColPivHouseholderQR<MatrixType>::logAbsDeterminant() const [with _MatrixType = Eigen::Matrix<double, -1, -1>; typename MatrixType::RealScalar = double]'
463 | return m_qr.diagonal().cwiseAbs().array().log().sum();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/log_determinant.hpp:27:51: required from 'stan::value_type_t<T> stan::math::log_determinant(const EigMat&) [with EigMat = Eigen::Matrix<double, -1, -1>; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; stan::value_type_t<T> = double]'
27 | return m.colPivHouseholderQr().logAbsDeterminant();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
stanExports_mdcev.h:962:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
962 | log_j_det = stan::math::log_determinant(jac_mat);
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34: required from 'class Eigen::ArrayBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > > >'
39 | template<typename Derived> class ArrayBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > >, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_log_op<double>, const Eigen::ArrayWrapper<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Diagonal<const Eigen::Matrix<double, -1, -1>, 0> > > >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/QR/ColPivHouseholderQR.h:463:48: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
stanExports_mdcev.h:962:0: required from 'stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> model_mdcev_namespace::DeterminJacob(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, std::ostream*) [with T0__ = Eigen::Transpose<const Eigen::Block<Eigen::Matrix<double, -1, -1>, 1, -1, false> >; T1__ = double; T2__ = Eigen::Matrix<double, -1, 1>; T3__ = Eigen::Transpose<const Eigen::Block<const Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >, 1, -1, false> >; T4__ = int; stan::require_all_t<stan::is_col_vector<T>, stan::is_vt_not_complex<T0__>, stan::math::disjunction<stan::is_autodiff_scalar<T1__>, std::is_floating_point<typename std::decay<_Tp2>::type> >, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, std::is_integral<typename std::decay<T4>::type> >* <anonymous> = 0; stan::return_type_t<typename stan::base_type<T, void>::type, T1__, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type> = double; typename stan::base_type<T>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; std::ostream = std::basic_ostream<char>]'
962 | log_j_det = stan::math::log_determinant(jac_mat);
stanExports_mdcev.h:1135:0: required from 'Eigen::Matrix<typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type, -1, 1> model_mdcev_namespace::kt_ll(const T0__&, const T1__&, const T2__&, const T3__&, const T4__&, const T5__&, const T6__&, const T7__&, const T8__&, const T9__&, const T10__&, const T11__&, const T12__&, const T13__&, std::ostream*) [with T0__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T1__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T2__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T3__ = Eigen::Map<Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; T4__ = Eigen::Matrix<double, -1, -1>; T5__ = Eigen::Matrix<double, -1, -1>; T6__ = Eigen::Matrix<double, -1, -1>; T7__ = Eigen::Matrix<double, -1, 1>; T8__ = double; T9__ = int; T10__ = int; T11__ = Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; T12__ = int; T13__ = int; stan::require_all_t<stan::is_eigen_matrix_dynamic<T>, stan::is_vt_not_complex<T0__>, stan::is_eigen_matrix_dynamic<Mat2>, stan::is_vt_not_complex<T1__>, stan::is_col_vector<T2__>, stan::is_vt_not_complex<T2__>, stan::is_col_vector<T3__>, stan::is_vt_not_complex<T3__>, stan::is_eigen_matrix_dynamic<T4__>, stan::is_vt_not_complex<T4__>, stan::is_eigen_matrix_dynamic<T5__>, stan::is_vt_not_complex<T5__>, stan::is_eigen_matrix_dynamic<T6__>, stan::is_vt_not_complex<T6__>, stan::is_col_vector<T7__>, stan::is_vt_not_complex<T7__>, stan::math::disjunction<stan::is_autodiff_scalar<T8__>, std::is_floating_point<typename std::decay<T8__>::type> >, std::is_integral<typename std::decay<T9__>::type>, std::is_integral<typename std::decay<T10__>::type>, stan::is_eigen_matrix_dynamic<T11__>, stan::is_vt_not_complex<T11__>, std::is_integral<typename std::decay<T12__>::type>, std::is_integral<typename std::decay<T13__>::type> >* <anonymous> = 0; typename stan::return_type<typename stan::base_type<T, void>::type, typename stan::base_type<Check, void>::type, typename stan::base_type<T2__, void>::type, typename stan::base_type<T3__, void>::type, typename stan::base_type<T4__, void>::type, typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type>::type = double; typename stan::base_type<T>::type = double; typename stan::base_type<Check, void>::type = double; typename stan::base_type<T2__, void>::type = double; typename stan::base_type<T3__, void>::type = double; typename stan::base_type<T4__, void>::type = double; typename stan::return_type<typename stan::base_type<T5__, void>::type, typename stan::base_type<T6__, void>::type, typename stan::base_type<T7__, void>::type, T8__, typename stan::base_type<T11__, void>::type>::type = double; typename stan::base_type<T5__, void>::type = double; typename stan::base_type<T6__, void>::type = double; typename stan::base_type<T7__, void>::type = double; typename stan::base_type<T11__, void>::type = double; std::ostream = std::basic_ostream<char>]'
1135 | DeterminJacob(
1136 | stan::math::transpose(
1137 | stan::model::rvalue(phi_quant_term, "phi_quant_term",
1138 | stan::model::index_uni(i))),
1139 | stan::model::rvalue(alpha, "alpha", stan::model::index_uni(i)),
1140 | price_j_num,
1141 | stan::math::transpose(
1142 | stan::model::rvalue(nonzero, "nonzero",
1143 | stan::model::index_uni(i))), J, pstream__),
stanExports_mdcev.h:2798:0: required from 'void model_mdcev_namespace::model_mdcev::write_array_impl(RNG&, VecR&, VecI&, VecVar&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; VecR = std::vector<double>; VecI = std::vector<int>; VecVar = std::vector<double>; stan::require_vector_like_vt<std::is_floating_point, VecR>* <anonymous> = 0; stan::require_vector_like_vt<std::is_integral, VecI>* <anonymous> = 0; stan::require_vector_vt<std::is_floating_point, VecVar>* <anonymous> = 0; std::ostream = std::basic_ostream<char>]'
2798 | kt_ll(quant_j, price_j, log_num, income, lpsi, phi_ij,
2799 | gamma_full, alpha_1, scale_full, I, J, nonzero,
2800 | trunc_data, jacobian_analytical_grad, pstream__),
stanExports_mdcev.h:3335:0: required from 'void model_mdcev_namespace::model_mdcev::write_array(RNG&, std::vector<double>&, std::vector<int>&, std::vector<double>&, bool, bool, std::ostream*) const [with RNG = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; std::ostream = std::basic_ostream<char>]'
3335 | write_array_impl(base_rng, params_r, params_i, vars,
3336 | emit_transformed_parameters, emit_generated_quantities, pstream);
D:/RCompile/CRANpkg/lib/4.6/rstan/include/rstan/stan_fit.hpp:1105:0: required from 'SEXPREC* rstan::stan_fit<Model, RNG_t>::constrain_pars(SEXP) [with Model = model_mdcev_namespace::model_mdcev; RNG_t = boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399> >; SEXP = SEXPREC*]'
1105 | model_.write_array(base_rng, params_r, params_i, par);
stanExports_mdcev.cc:26:0: required from here
26 | .method("constrain_pars", &rstan::stan_fit<stan_model, stan::rng_t> ::constrain_pars)
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:357:7: required from 'class Eigen::internal::redux_evaluator<Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false> >'
357 | class redux_evaluator : public internal::evaluator<_XprType>
| ^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:414:17: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<double, double>; Derived = Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>; typename Eigen::internal::traits<T>::Scalar = double]'
414 | ThisEvaluator thisEval(derived());
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:463:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::sum() const [with Derived = Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>; typename Eigen::internal::traits<T>::Scalar = double]'
463 | return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/VectorwiseOp.h:114:1: required from 'ResultType Eigen::internal::member_sum<ResultType, Scalar>::operator()(const XprType&) const [with XprType = Eigen::Block<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, 1, -1, false>; ResultType = double; Scalar = double]'
97 | { return mat.MEMBER(); } \
| ~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PartialReduxEvaluator.h:183:21: required from 'const Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::Scalar Eigen::internal::evaluator<Eigen::PartialReduxExpr<MatrixType, MemberOp, Direction> >::coeff(Eigen::Index) const [with ArgType = const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >; MemberOp = Eigen::internal::member_sum<double, double>; int Direction = 1; Scalar = double; Eigen::Index = long long int]'
183 | return m_functor(m_arg.template subVector<DirectionType(Direction)>(index));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:268:34: required from 'static Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::Scalar Eigen::internal::redux_impl<Func, Evaluator, 3, 0>::run(const Evaluator&, const Func&, const XprType&) [with XprType = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; Func = Eigen::internal::scalar_max_op<double, double, 0>; Evaluator = Eigen::internal::redux_evaluator<Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1> >; Scalar = double]'
268 | res = func(res,eval.coeff(index));
| ~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:418:56: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_max_op<double, double, 0>; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
418 | return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Redux.h:448:25: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with int NaNPropagation = 0; Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
448 | return derived().redux(Eigen::internal::scalar_max_op<Scalar,Scalar, NaNPropagation>());
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:466:37: required from 'typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::maxCoeff() const [with Derived = Eigen::PartialReduxExpr<const Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs_op<double>, const Eigen::Matrix<double, -1, -1> >, Eigen::internal::member_sum<double, double>, 1>; typename Eigen::internal::traits<T>::Scalar = double]'
466 | return maxCoeff<PropagateFast>();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/matrix_exp_action_handler.hpp:106:49: required from here
106 | return x.cwiseAbs().rowwise().sum().maxCoeff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from 'struct Eigen::internal::plain_object_eval<const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, Eigen::Dense>'
372 | typedef typename plain_matrix_type_dense<T,typename traits<T>::XprKind, evaluator<T>::Flags>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:370:45: required from 'struct Eigen::internal::generic_product_impl<Eigen::Matrix<double, -1, -1, 1, -1, -1>, const Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, -1, 1, true>, Eigen::DenseShape, Eigen::DenseShape, 7>'
370 | typedef typename nested_eval<Rhs,1>::type RhsNested;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:479:24: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; Scalar = double]'
478 | return internal::generic_product_impl<Lhs,typename Rhs::ConstColXpr,DenseShape,DenseShape,GemvProduct>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
479 | ::scaleAndAddTo(dst_vec, a_lhs, a_rhs.col(0), alpha);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >]'
445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Product<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Product<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Product<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:120:7: required from 'class Eigen::internal::dense_product_base<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0, 7>'
120 | class dense_product_base
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:152:7: required from 'class Eigen::ProductImpl<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0, Eigen::Dense>'
152 | class ProductImpl<Lhs,Rhs,Option,Dense>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Product.h:71:7: required from 'class Eigen::Product<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>'
71 | class Product : public ProductImpl<_Lhs,_Rhs,Option,
| ^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:345:45: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h: In instantiation of 'struct Eigen::internal::evaluator<Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:100:8: required from 'struct Eigen::internal::evaluator<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true> >'
100 | struct evaluator<const T>
| ^~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:372:102: required from 'struct Eigen::internal::plain_object_eval<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Dense>'
372 | typedef typename plain_matrix_type_dense<T,typename traits<T>::XprKind, evaluator<T>::Flags>::type type;
| ^~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:369:45: required from 'struct Eigen::internal::generic_product_impl<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, Eigen::DenseShape, Eigen::DenseShape, 7>'
369 | typedef typename nested_eval<Lhs,1>::type LhsNested;
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:486:24: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::scaleAndAddTo(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >; Scalar = double]'
485 | return internal::generic_product_impl<typename Lhs::ConstRowXpr,Rhs,DenseShape,DenseShape,GemvProduct>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
486 | ::scaleAndAddTo(dst_vec, a_lhs.row(0), a_rhs, alpha);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:445:20: required from 'static void Eigen::internal::generic_product_impl<Lhs, Rhs, Eigen::DenseShape, Eigen::DenseShape, 8>::evalTo(Dst&, const Lhs&, const Rhs&) [with Dst = Eigen::Matrix<double, -1, -1>; Lhs = Eigen::Matrix<double, -1, -1, 1, -1, -1>; Rhs = Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >]'
445 | scaleAndAddTo(dst, lhs, rhs, Scalar(1));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; Derived = Eigen::Matrix<double, -1, -1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Matrix<double, -1, -1, 1, -1, -1>, Eigen::Transpose<const Eigen::Matrix<double, -1, -1, 1, -1, -1> >, 0>; _Scalar = double; int _Rows = -1; int _Cols = -1; int _Options = 0; int _MaxRows = -1; int _MaxCols = -1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/tcrossprod.hpp:29:18: required from 'Eigen::Matrix<typename stan::value_type<T>::type, T::RowsAtCompileTime, T::RowsAtCompileTime> stan::math::tcrossprod(const T&) [with T = Eigen::Transpose<const Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0> >; stan::require_eigen_vt<std::is_arithmetic, T>* <anonymous> = 0; typename stan::value_type<T>::type = double]'
29 | return M_ref * M_ref.transpose();
| ~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/fun/crossprod.hpp:21:20: required from 'auto stan::math::crossprod(const EigMat&) [with EigMat = Eigen::Product<Eigen::Matrix<double, -1, -1>, Eigen::TriangularView<const Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >, 2>, 0>; stan::require_eigen_t<T>* <anonymous> = 0]'
21 | return tcrossprod(M.transpose());
| ~~~~~~~~~~^~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/stan/math/prim/prob/wishart_rng.hpp:34:19: required from here
34 | return crossprod(B * llt_of_S.matrixU());
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:1071:54: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
1071 | PacketAlignment = unpacket_traits<PacketScalar>::alignment,
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> >, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> > >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> > >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:94:7: required from 'class Eigen::CwiseUnaryOpImpl<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>, Eigen::Dense>'
94 | class CwiseUnaryOpImpl
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/CwiseUnaryOp.h:55:7: required from 'class Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>, const Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false> >'
55 | class CwiseUnaryOp : public CwiseUnaryOpImpl<UnaryOp, XprType, typename internal::traits<XprType>::StorageKind>, internal::no_assignment_operator
| ^~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Dot.h:98:40: required from 'typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real Eigen::MatrixBase<Derived>::squaredNorm() const [with Derived = Eigen::Block<const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false>, -1, 1, false>; typename Eigen::NumTraits<typename Eigen::internal::traits<T>::Scalar>::Real = double; typename Eigen::internal::traits<T>::Scalar = double]'
98 | return numext::real((*this).cwiseAbs2().sum());
| ~~~~~~~~~~~~~~~~~^~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Householder/Householder.h:78:71: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:363:59: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, CoeffVectorType&) [with MatrixType = Eigen::Matrix<double, -1, -1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
363 | matA.col(i).tail(remainingSize).makeHouseholderInPlace(h, beta);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:449:31: required from 'static void Eigen::internal::tridiagonalization_inplace_selector<MatrixType, Size, IsComplex>::run(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; MatrixType = Eigen::Matrix<double, -1, -1>; int Size = -1; bool IsComplex = false; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
449 | tridiagonalization_inplace(mat, hCoeffs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/Tridiagonalization.h:434:55: required from 'void Eigen::internal::tridiagonalization_inplace(MatrixType&, DiagonalType&, SubDiagonalType&, CoeffVectorType&, bool) [with MatrixType = Eigen::Matrix<double, -1, -1>; DiagonalType = Eigen::Matrix<double, -1, 1>; SubDiagonalType = Eigen::Matrix<double, -1, 1>; CoeffVectorType = Eigen::Matrix<double, -1, 1>]'
434 | tridiagonalization_inplace_selector<MatrixType>::run(mat, diag, subdiag, hcoeffs, extractQ);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:458:39: required from 'Eigen::SelfAdjointEigenSolver<MatrixType>& Eigen::SelfAdjointEigenSolver<_MatrixType>::compute(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
458 | internal::tridiagonalization_inplace(mat, diag, m_subdiag, m_hcoeffs, computeEigenvectors);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:181:14: required from 'Eigen::SelfAdjointEigenSolver<_MatrixType>::SelfAdjointEigenSolver(const Eigen::EigenBase<OtherDerived>&, int) [with InputType = Eigen::Matrix<double, -1, -1>; _MatrixType = Eigen::Matrix<double, -1, -1>]'
181 | compute(matrix.derived(), options);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:19:0: required from here
19 | Eigen::SelfAdjointEigenSolver<matrix_d> solver(H);
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 1, -1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 1, -1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 1, -1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 1, -1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 1, -1, true>, 0>'
37 | template<typename Derived> class MapBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:329:7: required from 'class Eigen::internal::BlockImpl_dense<const Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, 1, -1, true, true>'
329 | class BlockImpl_dense<XprType,BlockRows,BlockCols, InnerPanel,true>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Block.h:154:7: [ skipping 5 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/ProductEvaluators.h:148:43: required from 'static void Eigen::internal::Assignment<DstXprType, Eigen::Product<Lhs, Rhs, Options>, Eigen::internal::assign_op<Scalar, Scalar>, Eigen::internal::Dense2Dense, typename Eigen::internal::enable_if<((Options == Eigen::DefaultProduct) || (Options == Eigen::AliasFreeProduct))>::type>::run(DstXprType&, const SrcXprType&, const Eigen::internal::assign_op<Scalar, Scalar>&) [with DstXprType = Eigen::Matrix<double, -1, 1>; Lhs = Eigen::Transpose<Eigen::Matrix<double, -1, -1> >; Rhs = Eigen::Matrix<double, -1, 1>; int Options = 0; Scalar = double; SrcXprType = Eigen::Product<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0>]'
148 | generic_product_impl<Lhs, Rhs>::evalTo(dst, src.lhs(), src.rhs());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/AssignEvaluator.h:890:49: required from 'void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Matrix<double, -1, 1>; Src = Eigen::Product<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0>; Func = assign_op<double, double>]'
890 | Assignment<ActualDstTypeCleaned,Src,Func>::run(actualDst, src, func);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:797:41: required from 'Derived& Eigen::PlainObjectBase<Derived>::_set_noalias(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0>; Derived = Eigen::Matrix<double, -1, 1>]'
797 | internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op<Scalar,typename OtherDerived::Scalar>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:594:19: required from 'Eigen::PlainObjectBase<Derived>::PlainObjectBase(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0>; Derived = Eigen::Matrix<double, -1, 1>]'
594 | _set_noalias(other);
| ~~~~~~~~~~~~^~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/Matrix.h:423:29: required from 'Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::EigenBase<OtherDerived>&) [with OtherDerived = Eigen::Product<Eigen::Transpose<Eigen::Matrix<double, -1, -1> >, Eigen::Matrix<double, -1, 1>, 0>; _Scalar = double; int _Rows = -1; int _Cols = 1; int _Options = 0; int _MaxRows = -1; int _MaxCols = 1]'
423 | : Base(other.derived())
| ^
D:/RCompile/CRANpkg/lib/4.6/StanHeaders/include/src/stan/optimization/newton.hpp:22:0: required from here
22 | vector_d eigenprojections = eigenvectors.transpose() * g;
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:56:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__m128d'} [-Wignored-attributes]
56 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, true>, 0>':
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:481:7: required from 'class Eigen::DenseCoeffsBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, true>, 2>'
481 | class DenseCoeffsBase<Derived, DirectAccessors> : public DenseCoeffsBase<Derived, ReadOnlyAccessors>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34: required from 'class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, true> >'
41 | template<typename Derived> class DenseBase
| ^~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34: required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, true> >'
48 | template<typename Derived> class MatrixBase
| ^~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34: required from 'class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, 1>, -1, 1, true>, 0>